zenphoto forums » General Zenphoto Discussion

Support of videos for ZenPhoto

(107 posts)
  1. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    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/zenvideo

    I 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.

    Posted 7 years ago #
  2. Chilifrei64

    Contributor
    Joined: Dec '05
    Posts: 541

    very nice... how can we get our hands on this.

    Posted 7 years ago #
  3. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    I'm going to make a little webpage so you can download the patch.

    Posted 7 years ago #
  4. koffee

    Member
    Joined: Mar '06
    Posts: 25

    hurry up, i cant wait too long :)

    Posted 7 years ago #
  5. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    Ok, here we go...
    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 :)

    Posted 7 years ago #
  6. aitf311

    Contributor
    Joined: Nov '05
    Posts: 481

    Are you going to mod this so you can have an album of videos or is the development stopped?

    Posted 7 years ago #
  7. Tim_Hyde

    Apprentice
    Joined: Aug '06
    Posts: 3

    Very useful. Thanks a lot! :)

    Posted 7 years ago #
  8. Daxeno

    Senior
    Joined: Jun '06
    Posts: 99

    tried it but it wont work on Stopdesign theme

    Posted 7 years ago #
  9. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    The development isn't stopped, i'm gonna clean the code, to make it more usable.

    I'll look to make it work with StopDesign Theme...

    Posted 7 years ago #
  10. aitf311

    Contributor
    Joined: Nov '05
    Posts: 481

    Awesome, good to know. It works like a charm.

    Posted 7 years ago #
  11. Daxeno

    Senior
    Joined: Jun '06
    Posts: 99

    This is the Error Message i get on the 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? :(

    Posted 7 years ago #
  12. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    I'm going to release zenvideo 0.2 as soon as possible.

    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.

    Posted 7 years ago #
  13. Daxeno

    Senior
    Joined: Jun '06
    Posts: 99

    were you able to fix this? just wondering

    Posted 7 years ago #
  14. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    Yes, i've been able to fix this...

    Look at this post : http://www.zenphoto.org/support/topic.php?id=873

    Posted 7 years ago #
  15. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    Ok,

    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 !

    Posted 7 years ago #
  16. Daxeno

    Senior
    Joined: Jun '06
    Posts: 99

    is there a way to make the video a little bigger? it is too minute though. :D

    Posted 7 years ago #
  17. SusieN

    Member
    Joined: Oct '06
    Posts: 30

    Where exactly do I upload the zip files? Inside zenphoto or elsewhere?

    Thanks!

    Posted 7 years ago #
  18. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    You need to extract first the zip files, then you just have to replace the older files using new ones.

    Take care of saving your albums and your configuration file (/zen/zp-config.php).

    Posted 7 years ago #
  19. SusieN

    Member
    Joined: Oct '06
    Posts: 30

    I've got the zip files extracted. They look just like the zenphoto files. So, I just put them in the same place (overwrite) and make sure I keep my albums and config file information the same? Gosh, is it that easy? :) I'm afraid to touch anything for fear I might ruin something. lol

    Posted 7 years ago #
  20. koffee

    Member
    Joined: Mar '06
    Posts: 25

    Well, It is not that hard to integrate this to "almost" any version of ZP. I have some modifications in template function etc, so I had to copy your code everywhere - and it is working!

    But, i don't know why is the video screen size so small in IE. it's about 160*120px?

    Posted 7 years ago #
  21. SusieN

    Member
    Joined: Oct '06
    Posts: 30

    I'm sorry I'm being so dense. It's not working for me. Should I have a zenphoto folder and a separate zenvideo folder? Or should I put the zenvideo files in zenphoto which will cause them to be overwritten?

    Posted 7 years ago #
  22. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    @koffee: The video player has problems for displaying with IE, i'm working to fix it for the next version of zenvideo.
    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.

    Posted 7 years ago #
  23. Daxeno

    Senior
    Joined: Jun '06
    Posts: 99

    Thanks a lot La0c00n for your efforts making this video support. it does works great in Firefox. Yet i'll be waiting for the fix for IE. i used IE most of the time. Thanks!

    Posted 7 years ago #
  24. koffee

    Member
    Joined: Mar '06
    Posts: 25

    @La0c00n: Of course I do, but most of my visitors have IE, so there's the problem ;)

    Posted 7 years ago #
  25. Daxeno

    Senior
    Joined: Jun '06
    Posts: 99

    most of my visitors used the same as well... others have opera. yet i just asked them to download Firefox to view it best.

    Posted 7 years ago #
  26. La0c00n

    Member
    Joined: Aug '06
    Posts: 48

    Well... I don't even use Firefox but Camino which is based on a Firefox basis. I've added the support of mp3 to zenvideo, i have found too an issue for this Ie bug.

    I'm gonna release 0.3 version of zenvideo asap.

    Keep Using Firefox :-)

    Posted 7 years ago #
  27. Daxeno

    Senior
    Joined: Jun '06
    Posts: 99

    La0c00n, this version does not support the Zenphoto 1.0.6 :(

    Posted 7 years ago #
  28. nabberuk

    Member
    Joined: Sep '06
    Posts: 16

    look in the following thread, http://www.zenphoto.org/support/topic.php?id=1058&replies=2

    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.

    Posted 7 years ago #
  29. freediver

    Apprentice
    Joined: Dec '06
    Posts: 2

    I have a quick question - I would like the player bar to not hide while the video is playing - is there a way to have it show at all times and still keep the full size of the video playing as well?

    Peace...

    Posted 7 years ago #
  30. altaphista

    Member
    Joined: Jan '07
    Posts: 11

    Hey everybody, La0c00n,

    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

    Posted 7 years ago #

RSS feed for this topic

Reply »

You must log in to post.