![]() |
|
Support of videos for ZenPhoto - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Support of videos for ZenPhoto (/thread-769.html) |
Support of videos for ZenPhoto - Guest - 06-04-2007 Hi, I'm using Version 0.3.1 and the latest version of ZP and it all works fine except the video is playing upside down. Any ideas? do I need to tweek some code? Thanks, by-product Support of videos for ZenPhoto - steve - 26-04-2007 How difficult would it be to get this to play .mov files instead of flash? Support of videos for ZenPhoto - permesso - 26-04-2007 I would actually love just a simple hack of zenphoto to treat video files (extentions defined in config somewhere) as photos and then when you click on them, it just plays when in the locally defined player. I am just looking for easy way for my family/friends to see the videos I take with my camera as easily as they can see photos (with zenphoto). Support of videos for ZenPhoto - La0c00n - 26-04-2007 @steve: Not everyone can play .mov videos, you need to have quickTime installed. ZenVideo uses a flash player to read .flv video files. Actually, almost anyone has a flash plugin for its web browser... I don't think using .mov videos is a good solution BUT it won't be difficult to make zenvideo recognize .mov file : look after the is_valid_video() in the image class. You should look in template functions too for displaying the right viewer. @permesso: Well your request is similar as steve's one. It needs to modify some part of the code... but the easiest way is still to convert your video in FLV files i suppose. On windows you can use http://www.rivavx.com products, on linux or mac os x, you can use directly ffmpeg to convert your videos. Support of videos for ZenPhoto - steve - 26-04-2007 Cheers for taking the time to reply, its appreciated. I have a specific setup that requires the display of .mov files, the audience viewing the site will be aware of that and either have the required Quicktime player installed or be prepared to install it. It would be really beneficial to be able to do this from within Zenphoto as my existing site also runs on that, and it would save massive amounts of work to start all over again with a different gallery application. I will download your Zenphoto files and look in the code for the changes required but I think it will be a little to advanced for my level of experience. If you have the time, any extra details or pointers that you feel like giving for further assistance would be great. Support of videos for ZenPhoto - EdnaGarrett - 06-05-2007 Hi, I'd like to try it, at least on a localhost, is there a tutorial about how to integrate it into zenphoto? Support of videos for ZenPhoto - steve - 06-05-2007 Just an update on this. I now have it running and playing QT movie files with no issues (thanks for the pointers and great code base to work from). Is it possible to show a different thumbnail for each video as I will be displaying more than one video in each gallery? I am happy to create .jpg of each and name them independently (or the same as the .mov file) but are unsure how to get them to display correctly. Again many thanks for writing this addition and your previous help :-) Support of videos for ZenPhoto - steve - 06-05-2007 @EdnaGarrett If you want to run it as designed with no alterations, then it is simply a case of downloading the files and overwriting the originals.(just the changed files will do if you are already running an instance of Zenphoto or download and install the full package if not). The full package comes with all the changes already coded in to the download so there are no edits needed. The installation process for the full package is the same as doing a full installation of Zenphoto. Support of videos for ZenPhoto - steve - 06-05-2007 Forget my question above, I was being dumb. I made a typo error in the file name for the thumb and was looking elsewhere for the issue thinking it may have had something to do with my edits to the files. Sometimes the solutions are closer to home ;-) Everything is working great now, I just need to alter the CSS to get things to fit as I want. Support of videos for ZenPhoto - lssian - 07-05-2007 @steve, you mentioned some pointers on modifying it for another extension - can you share those? I tweaked it to do mpeg, but would like to see if I went about it the right way, or if I missed something. Thanks! Support of videos for ZenPhoto - steve - 08-05-2007 Issian...the only pointers I had are those shared by La0c00n in the fourth post down but to summarise (in case it helps)... I edited the expected files type from .flv to .mov (in zen > functions.php) Then changed the code that calls the flash player to call the QT movie plugin for playing .mov files. This was done in zen > template-function.php. I also modified the default size of the player window in zen > class-image.php as all my files will be the same default size. Those where the only three files altered and thankfully La0c00n kindly commented all the code, so finding the correct places was easy. Support of videos for ZenPhoto - EdnaGarrett - 09-05-2007 @Steve, thanks! Support of videos for ZenPhoto - Guest - 31-05-2007 @steve: would you mind copying and pasting in the modifications you made to functions.php and template-functions.php? i gave it a shot myself and realized i hadn't a clue what i was doing. :S would be much appreciated! Support of videos for ZenPhoto - AmbitiousLemon - 02-06-2007 hi, I run a few websites using zenphoto and just recently tried this hack on one of them. I wanted to see if the bugs I found were particular to me or more universal. Videos have to be uploaded via ftp, the admin web interface does not allow uploading of videos. After uploading a video via ftp you need to visit the admin edit page and click save, otherwise you get an error on the gallery page. Is everyone doing it this way? A couple of the websites I run have several non-computer savvy people uploading, so ftp isn't an option. It would be great if the admin upload could be fixed. On another note, how are people creating the flv files? I found a few different shareware apps but they all suck. I'd love to hear recommendations (Mac user). Support of videos for ZenPhoto - kenoji - 25-07-2007 Hey guys, Sorry to bump this old post. Also on a side note, is there any way to pull the files size(like in kb or mb?) or date uploaded for a file? Support of videos for ZenPhoto - aitf311 - 27-07-2007 Has there been any progress with getting this to work with the latest SVN? The only reason I ask is because the SVN allows for subalbums and exif information. Support of videos for ZenPhoto - aitf311 - 27-07-2007 I went ahead and updated this to work with the latest SVN (441) and uploaded a patch to the trac ticket #54 Support of videos for ZenPhoto - La0c00n - 27-07-2007 Thanks a lot for making this patch! I had made patch a long time ago but it was never implemented... Support of videos for ZenPhoto - aitf311 - 27-07-2007 No I do not. I was actually astonished I got your code to work. I have wanted this for a long time but I use subalbums! Thanks again for making this La0c00n. Support of videos for ZenPhoto - kenoji - 27-07-2007 So no news? No custom width height function that can detect a video's dimensions? |