If you were distracted by all the skydiving and BMX stunts at Google I/O, you may have missed a new YouTube API for Android, announced by Ross McIlroy and Anton Hansson. Set to be made public in the coming months, the API solves a common problem for Android developers, allowing YouTube video content to be embedded seamlessly in native apps.
Google introduces new YouTube API for Android
Google is set to roll out a new API for embedding YouTube videos in native Android apps, creating a smoother experience for developers and users.
Google is set to roll out a new API for embedding YouTube videos in native Android apps, creating a smoother experience for developers and users.


Currently, developers are limited to either embedding video as Flash content, which limits access to the API, or as an iframe in a webview, which Android Central points out is “un-supported on older versions of Android.” A workaround involves redirecting users to Google’s native YouTube app, but this disrupts the user experience.
The basic code for accessing the new API runs to just three lines, with the new embedded video capable of playing on all Android versions from 2.2 on. It will also support ads and monetization, helping developers with premium video content to generate a few extra dollars from their apps.
Most Popular
- The iPhone Duo is a messy, expensive, good time
- Trump says Sundar Pichai talked him out of renaming the Atlantic Ocean
- Bill Gates says to prepare for 20 years of ‘tumultuous’ AI disruption
- Tesla driver using Full Self-Driving struck and killed a man crossing I-80
- PHP: The three letters that shut down sites all over the internet today









