This is an old revision of the document!
How to Play YouTube Videos
YouTube videos are played by Serviio as RSS feeds.
The RSS feeds are created by the YouTube api in response to specific api requests in the form of:
http://gdata.youtube.com/feeds/api/.....
which are entered in the console under “Library/Online sources”.
To play a specific Youtube Video use:
http://gdata.youtube.com/feeds/api/videos?v=2&q=xxxxxxxxxxx
where xxxxxxxxxxx is the 11 character video code that normally follows
http://www.youtube.com/watch?v=xxxxxxxxxx
when viewing Youtube videos on your PC.
To play a specific Youtube Video Playlist use:
http://gdata.youtube.com/feeds/api/playlists/yyyyyyyyyyyyyyyy?v=2
where yyyyyyyyyyyyyyyy is the 16 character playlist code that normally follows
http://www.youtube.com/playlist?list=PLyyyyyyyyyyyyyyyy
when viewing YouTube playlists on your PC.
Note: The leading characters PL are removed.
To generate a Youtube Video Playlist with search results use:
http://gdata.youtube.com/feeds/api/videos?v=2&q=zzzzzzz
where zzzzzzz is your search term, and multiple terms are joined by “+”
eg: http://gdata.youtube.com/feeds/api/videos?v=2&q=shania+celine
To get YouTube Generated Standard Feeds use these examples:
http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed
http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed_Music
https://gdata.youtube.com/feeds/api/charts/trailers/most_popular?region=US&v=2
https://gdata.youtube.com/feeds/api/charts/trailers/most_recent?region=US&v=2
More to follow ….