Member
Member
Castro   2005-10-17, 18:33
#1

Hi is there anyway to add a video link to an album ?

Castro

Member
Member
simon   2005-10-21, 17:53
#2

Hi Castro,

If you have a look in the functions.php in the zen folder, you will find some code which essentially looks at whats in your images folder, and then displays it, if the file format is one which is 'allowed'. You can edit this to include for example quicktime file extentions .mov then it will display .mov files as a link to the movie.mov file in your gallery folder.

However to display the files properly one would need to include some html: an embed and object tag. Probably this would be simple to implement and wouldn't create the bloat that Tris is trying to avoid, but I dont know how to do this, maybe it could be a plugin?

hope this is helpful.

Simon

Member
Member
simon   2005-10-21, 22:43
#3

ok i got a little inspired to try this out - I suddenly thought of a project a friend asked me about this could be a simple solution.

so, the way to do it is to add some code into the theme. if you modify the image.php file:

Junior Member
Junior Member
tomnibus   2006-03-23, 20:45
#4

I would be very interested in this. I am so grateful to y'all for how easily customizable ZenPhoto is. I think I'm going to try to implement this on my site.

The trick is really determining the size. I will need to play around with it but I know the videos I have to display are of a couple of different sizes. PHP can't really determine the height/width of a movie so I wonder if putting no height/width in will display it fine. Or just go for an absolute max.

Member
Member
aitf311   2006-03-24, 21:01
#5

Woah! Yes! Hopefully that can get added in as soon as the new wiki is posted.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.