YouTube Android Player API
Written by Kay Ewbank   
Tuesday, 01 January 2013

YouTube has released an API that you can use to embed YouTube videos in your Android apps.

The API was first announced in the summer at Google I/O 2012, and has now been released on an experimental basis. The API lets you embed and play YouTube videos in your apps, add support for YouTube ads, and set up closed captions for situations where you don’t want sound. 

While the YouTube blog says the API is still experimental, the team also says it doesn’t expect any major interface changes. The API works in apps for devices running Android 2.2 or above. There’s plenty of documentation for the API, and using the API is straightforward. The YouTube team has prepared several code examples to get you started, and you can check them out on code.google.com.

There are also some apps that you can play with to see how the API works in practice, showing it being used in Flipboard, BuzzFeed, and 9x9.tv. Flipboard (http://flipboard.com/) shows personal news and images in one place, while BuzzFeed (http://www.buzzfeed.com/) has news and social content. 9x9.tv (http://www.9x9.tv/android) lets users watch curated videos organized into TV-like channels.

There is an overview of the API in this video:

 

More Information

YouTube API blog

YouTube API Samples

Related Articles

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


Deno Improves JSR Support
08/04/2024

Deno has been updated to improve JSR support, and to build on the Temporal API introduced in version 1.4.  Deno is the JavaScript and TypeScript runtime from the creator of Node.js.



Spider Courtship Decoded by Machine Learning
07/04/2024

Using machine learning to filter out unwanted sounds and to isolate the signals made by three species of wolf spider has not only contributed to an understanding of arachnid courtship behavior, b [ ... ]


More News

Last Updated ( Tuesday, 01 January 2013 )