Hi All,
I managed to integrate Youtube feeds into Zenphoto.
Have a look at my site
http://www.scgfc.com.au/zenphoto/zenphoto/I used the Youtube API's together with a small amount of code to do this.
It is based off the default theme.
Download from
http://www.scgfc.com.au/zenphoto/zenphoto/themes/youtube2.rarOnce 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.
Oh by the way. Part of the code is browser detection and if the gallery is being viewed on an iphone, ipad or ipod, the video is transferred to the youtube app rather than viewed in the standard modal popup window.
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.
Comments
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.
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.
http://www.icm-es.com.br/fotos/videos/2012/
not run
"inicializing..."
Login
users_facebook
facebook092012
Plugin class-textobject enable.
<iframe width="560" height="315" src="http://www.youtube.com/embed/6CiWvGVfnCA" frameborder="0" allowfullscreen></iframe>
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.
Colorbox is able to show YouTube video so it must be in the galleriffic handling.
http://code.google.com/p/galleriffic/source/browse/#svn/trunk/example