Hello all,
I have made a little hack of Zenphoto to make it support videos (flash videos actually supported).
My modifications are independant from any theme, it just displays a flash video player when it finds a video ending in .flv
I added a little feature: when you put a video called myVideo.flv in an album and a picture called myVideo.jpg, the pictures is ignored by ZenPhoto and is showed as a thumb of the video.
Well, i think it's all... The demo is here:
http://la0c00n.info/zenvideoI have not seen any topic about this sort of thing in the forum, but if anyone has already done this i apologize
Feel free to comment.
Comments
The webpage is online : http://la0c00n.info/zenvideo
You will find there the archives of my patch and a little howto for installing it.
Have FUN
I'll look to make it work with StopDesign Theme...
MySQL Query ( UPDATE images SET width=, height= WHERE id=230; ) Failed. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' height= WHERE id=230' at line 1
Please... Is there any way you can fix this?
I'll try to make stopdesign work with this version.
Actually, i've re-written some parts of the code to make them more usable and more efficient.
Look at this post : http://www.zenphoto.org/support/topic.php?id=873
I've uploaded the 0.2 versions http://la0c00n.info/zenvideo
You can see now thumbnails of videos in the administration panel (using pictures).
I've cleaned a lot of code, and made a full installation package.
Please, report bugs !
Thanks!
Take care of saving your albums and your configuration file (/zen/zp-config.php).
But, i don't know why is the video screen size so small in IE. it's about 160*120px?
By the way, you should use Firefox :-)
@SusieN: Yes, installing zenvideo is that easy !
Just overwrite your current installation of zenphoto, and configure it like you did with your current zenphoto.
I'm gonna release 0.3 version of zenvideo asap.
Keep Using Firefox :-)
It displays correctly in all browsers and gets past the "click to activate control" in IE. Plus theres tons of options for the flv player.
Peace...
I have adjusted the files La0c00n provided so that the video script is compatible with ZenPhoto 1.0.6 (tested with default theme).
Download link here: http://upload2.net/page/download/2D1NSURUjXRJLCO/zenVideoSrc_for_Zen1.0.6.zip.html
Greetz,
Altaphista
It also works in Stopdesign theme. Good Job and to La0c00n as well.