Google making it whole lot easier for Android developers adding high-quality video experience to their application with the new YouTube Android Player API, "that lets them embed and play YouTube videos in the Android app."
The API was pre-announced at Google I/O 2012 and today launched as the experimental, Google says it do not expect major interface changes going forward. It is supported on Android devices running version 4.2.16 or newer of the Android YouTube app.
"By including the library in your project, you can create rich video playback experiences through the ability to control and customize the video player," google said.
Check the Buzzfeed app shown as an example below:
Below is a snaphsot of benefits that the API offers:
- "High-quality video playback supported on Android 2.2 (Froyo) or newer
- Easy integration with your Android application (no WebView required)
- Fullscreen and orientation change support
- Closed captions display
- Support for YouTube ads
- Programmatic access, similar to existing Player APIs, to most aspects of the YouTube video playback experience
- Integration with the Android YouTube app using a standard set of YouTube Intents," informs YouTube blog.