

You will need to request a token, so that the feature is automatically enabled for your origin for a limited period of time.
#GOOGLE CHROME MEDIA PLAYER UPGRADES TRIAL#
To get feedback from web developers, the Auto Picture-in-Picture feature is available as an origin trial in Chrome 73 for desktop (ChromeOS, Linux, Mac, and Windows).
#GOOGLE CHROME MEDIA PLAYER UPGRADES ANDROID#
For example, HDCP policy check promise will reject with NotSupportedError on Android and Android WebView.Ĭheck out our previous developer documentation and give a try to the official sample to see all HDCP versions that are supported.

However, the actual policy checks might not be available on certain platforms.

addEventListener ( 'pause', function ( ) ) Ĭonsole. In short, it's a good practice to always listen to these media events and act accordingly. This is currently supported only on ChromeOS device running Android P. In ChromeOS, Android apps using audio focus will now tell Chrome to pause and resume audio to create a seamless media experience between websites on Chrome, Chrome Apps and Android Apps. It works whether Chrome is in foreground or background. If the play key is pressed, the previously paused media element will be resumed and receive a "play" media event. If user presses the pause key, the active media element playing in Chrome will be paused and receive a "paused" media event. Until now, desktop users couldn't use these media keys to control audio and video playback in Chrome. Many keyboards nowadays have keys to control basic media playback functions such as play/pause, previous and next track. Desktop PWAs are granted autoplay with sound.Auto Picture-in-Picture in desktop PWAs and "Skip Ad" in Picture-in-Picture are coming to origin trials.Web developers can query whether a certain HDCP policy can be enforced.Hardware media keys are now supported to control media playback on desktop.In this article, I'll discuss Chrome 73 new media features which include:
