Latest Features (9/4/2008)
September 4th, 2008 | Published in Youtube API
Posted by Stephanie Liu, YouTube APIs and Tools Team
Here are some of the recent features that you may have missed.
Player updates
Specify starting point in an embed
Want to skip to the good part? You can now specify when your video embed starts with the start parameter.
Full screen mode
Show the full screen button on the embedded player with the
Only the YouTube logo has clickthrough for Chromeless Player
The Chromeless Player's click area is now only the YouTube logo. The rest of the video canvas does not go back to YouTube.com. This should make the fuller integrations with the Chromeless Player more seamless. Jeff talks about it in his groups post.
Data API updates
Batch operations
You can now submit multiple operations per query. Closing out issue 79. See the docs for more details.
Feed for new videos from your subscriptions
You can now get a feed of videos from a user's subscriptions. Closing out issue 366. To see what lonelygirl15 is watching, use:
http://gdata.youtube.com/feeds/api/users/lonelygirl15/newsubscriptionvideos
New standard feeds for categories
You can now get standard feeds for the different categories -- these should more or less correspond with the browse pages. For example, for top rated videos in Comedy:
http://gdata.youtube.com/feeds/api/standardfeeds/top_rated_Comedy?time=today and http://www.youtube.com/browse?c=23&l=&b=0
You can also get localized feeds. For example, the top rated Comedy videos today in Germany:
http://gdata.youtube.com/feeds/api/standardfeeds/de/top_rated_Comedy?time=today
See the docs for more info.
X-GData-Authorization header for user login
The X-GData-Authorization header can now be used as an alternative to using the Authorization header for user login -- especially important for Flash developers.
A few other tidbits:
Here are some of the recent features that you may have missed.
Player updates
Specify starting point in an embed
Want to skip to the good part? You can now specify when your video embed starts with the start parameter.
Full screen mode
Show the full screen button on the embedded player with the
fs
parameter.Only the YouTube logo has clickthrough for Chromeless Player
The Chromeless Player's click area is now only the YouTube logo. The rest of the video canvas does not go back to YouTube.com. This should make the fuller integrations with the Chromeless Player more seamless. Jeff talks about it in his groups post.
Data API updates
Batch operations
You can now submit multiple operations per query. Closing out issue 79. See the docs for more details.
Feed for new videos from your subscriptions
You can now get a feed of videos from a user's subscriptions. Closing out issue 366. To see what lonelygirl15 is watching, use:
http://gdata.youtube.com/feeds/api/users/lonelygirl15/newsubscriptionvideos
New standard feeds for categories
You can now get standard feeds for the different categories -- these should more or less correspond with the browse pages. For example, for top rated videos in Comedy:
http://gdata.youtube.com/feeds/api/standardfeeds/top_rated_Comedy?time=today and http://www.youtube.com/browse?c=23&l=&b=0
You can also get localized feeds. For example, the top rated Comedy videos today in Germany:
http://gdata.youtube.com/feeds/api/standardfeeds/de/top_rated_Comedy?time=today
See the docs for more info.
X-GData-Authorization header for user login
The X-GData-Authorization header can now be used as an alternative to using the Authorization header for user login -- especially important for Flash developers.
A few other tidbits:
- you can now sort the comments feed in ascending order: http://gdata.youtube.com/feeds/api/videos/6d26GGXkzR0/comments?sortorder=ascending
- superfluous min/max for adding a rating to a video is no longer required
- spelling suggestion links return the suggested phrase in the 'title' attribute now, making it easier to parse out
- media:rating 2 is considered age-restricted in certain countries. See docs for more details.