The HTMLMediaElement.disableRemotePlayback
property determines whether the media element is allowed to have a remote playback UI.
var remotePlaybackState = element.disableRemotePlayback();
A Boolean
indicating whether the media element may have a remote playback UI.
var obj = document.createElement('audio'); obj.disableRemotePlayback = true;
Specification | Status | Comment |
---|---|---|
HTML5 The definition of 'disableRemotePlayback' in that specification. | Recommendation | Initial definition. |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
disableRemotePlayback property | 49.0 | 20.0 (20.0) | 9 | ? | ? |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|
disableRemotePlayback property | No support | 49.0 | 15.0 (15.0) | No support | No support | No support | 49.0 |
HTMLMediaElement
.
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/disableRemotePlayback