It's rare that the phrases "developer API" and "holy crap" are uttered in the same sentence, but if anything's going to pull it off, it might just be Google's new YouTube APIs. These allow developers to embed high-quality videos right inside their apps, obviating the need for that silly WebView thing.
Here's the full list of new features that this API allows:
The API, which was pre-announced at Google I/O 2012, offers these benefits:
- 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
The news is fantastic for developers, partly because it will make it much easier to include video content, but will also make it possible to improve on the YouTube browsing experience.