![]() |
|
YouTube Integration if anyone interested - 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: YouTube Integration if anyone interested (/thread-7334.html) |
YouTube Integration if anyone interested - timgraham - 2010-07-12 Hi All, I used the Youtube API's together with a small amount of code to do this. Once the theme is installed all you need to do is add a Gallery Title to the array in the config file (example below) and that gallery will be automatically transformed to display all videos from the corresponding Youtube channel (it uses the gallery title as the youtube channel so it must be identical). I have made small changes to album.php and added 5 files which all start with youtube_feed, such as youtube_feed_config.php and youtube_feed_functions.php. you will need to change or delete line 15 from album.php as this imports the custom banner from my site. config array example: $you_tube = array ('GranvilleGoPro','TheFishingShow','blackfin15'); That's all there is to it. I'm sure in the hands of someone with more talent than myself this could be made into a plugin. Feel free to do what you like with the code. Just thought I would share. I don't have time to help anyone with integration but I am happy to answer simple questions. YouTube Integration if anyone interested - joeltmartin - 2010-07-12 Very interesting I will check it out for myself. Thanks for the post. YouTube Integration if anyone interested - acrylian - 2010-07-12 I hope this little trick here that does not require any special code at all and it is even theme independend is known as well: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#38 That is what we use on our screenshots section. You just have to copy the standard Youtube embeed code and that's it. It works of course also with playlist embeed code (and any other service besides Youtube that provides embeed code). Main benefit is that you can treat them like "normal" gallery items with Zenphoto sorting, rating, comments etc. Of course that way does not display the description and such. Anyway, nice idea. A theme independent plugin would like be the best (don't have time for that as well...). I will post on our news section so maybe some one takes that over. YouTube Integration if anyone interested - timgraham - 2010-07-12 Thanks acrylian, I wasn't aware of that feature. It wouldn't have been suitable for the site I'm working at the moment due to the fact that they wanted to stick with Youtube but I'll keep it in mind for future project One of the reasons why I considered it the right approach was because internet services are becoming so popular on devices such as TV's etc. This would allow the videos to be available on devices that don't have a dedicated web browser, and wouldn't require managing a second video gallery or chewing up large amounts of server space. That being said I consider Zenphoto the best web image gallery available (free or paid). I would love to get more involved when my work load isn't so hectic. YouTube Integration if anyone interested - acrylian - 2010-07-12 Thanks, glad you like it. We try hard to make it the best gallery focussed website cms. We will await your further contributions later then...;-) YouTube Integration if anyone interested - Citrus Moon - 2010-07-13 I love that... I was surprised to see how nicely the videos integrated into the application. Great Job! I'll definitely keep this in mind if we decide to add videos to our portfolio. YouTube Integration if anyone interested - ThiagoPedro - 2012-09-21 The What Fault? http://www.icm-es.com.br/fotos/videos/2012/ not run "inicializing..." Login Plugin class-textobject enable. YouTube Integration if anyone interested - acrylian - 2012-09-21 What did you put into the text file? YouTube Integration if anyone interested - ThiagoPedro - 2012-09-21 In text file included "incorpored" youtube. YouTube Integration if anyone interested - acrylian - 2012-09-21 Now I see. you are using the third party zpGalleriffic theme. That theme is not complatible with this or any normal video players because it uses Javascript. YouTube Integration if anyone interested - tplowe56 - 2013-01-28 Is it still not possible to incorporate YouTube video into a gallery that uses the zpGalleriffic theme? I'm using zpArdoise theme which makes use of zpGalleriffic. I have fine video using "jplayer" but I would like to experiment with YouTube since it has better streaming of HD than my own server. YouTube Integration if anyone interested - acrylian - 2013-01-28 Did you try the textobject trick noted aboce on our troubleshooting? YouTube Integration if anyone interested - tplowe56 - 2013-01-29 Quote:Now I see. you are using the third party zpGalleriffic theme. That theme is not complatible with this or any normal video players because it uses Javascript. YouTube Integration if anyone interested - acrylian - 2013-01-29 The text object trick just loads a text file with the standard embeed code which is an iframe generally so it might work since none of the video player plugins is involved. But I have not tried it with that theme. YouTube Integration if anyone interested - tplowe56 - 2013-01-30 I enabled the class-textobject plugin and used the YouTube embed code in a txt file but the galleriific image container wont show the YouTube video, it just shows the rotating loading.gif from galleriffic, but thats it. Colorbox is able to show YouTube video so it must be in the galleriffic handling. YouTube Integration if anyone interested - acrylian - 2013-01-30 Probably that is so. Seems galleriffic is more or less dead since it has not been updated since 2009: YouTube Integration if anyone interested - tplowe56 - 2013-01-30 That is unfortunate. Great gallery. I'd like to find a clean, dark theme like zpArdoise, that does not use galleriffic. YouTube Integration if anyone interested - acrylian - 2013-01-30 Well, I fear there is none. At least the zpGalleriffic theme had an option to not use that (if I recall right). Otherwise you should make your own.. |