Google Chrome 54 for Android introduces new background video playback capabilities to the web browser if HTML5 video elements are played in it.
If you use Chrome on Android, you may have noticed that the browser stops playing videos automatically when you switch to another application, tab in the browser, or lock the device.
While that is desired sometimes, it may irritate you at other times. Maybe you want to turn off the display to save battery while the video, a music video or playlist perhaps, continues to play in the background.
This was not possible up until now, but changes with the release of Chrome 54 for Android.
The browser is currently available on the beta channel. If you run the beta version of Chrome on Android, then you may take advantage of the new feature right away.
First thing you may want to do is check whether you are running Chrome 54 on your Android device.
Now, to make use of the new background video playback feature in Chrome, do the following:
The video starts to play again when you hit the play button. It continues to play regardless of what you do now: lock the phone, open another app, or keep the launcher area open.
Here is a video by Google that demonstrates the functionality:
Google notes that developers can take advantage of background video playback by using the Page Visibility API.
In addition to fullscreen improvements, Chrome on Android now persists the media notification of a backgrounded HTMLVideoElement, allowing a user to continue playing videos while they aren’t visible. Developers can detect background video playback by using the Page Visibility API.
So how is Firefox for Android handling video playback? Better I guess. If you use the browser to play videos on YouTube for instance, playback will continue if you switch to another app or lock the device.
Now You: Does your mobile browser support background playback?Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.