The HTMLMediaElement.disableRemotePlayback
property determines whether the media element is allowed to have a remote playback UI.
Syntax
var remotePlaybackState = element.disableRemotePlayback();
Value
A Boolean
indicating whether the media element may have a remote playback UI.
Example
var obj = document.createElement('audio'); obj.disableRemotePlayback = true;
Specifications
Specification | Status | Comment |
---|---|---|
HTML5 The definition of 'disableRemotePlayback' in that specification. |
Recommendation | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic support | Chrome Full support 49 | Edge Full support Yes | Firefox Full support 20 | IE Full support 9 | Opera Full support Yes | Safari Full support Yes | WebView Android Full support 49 | Chrome Android Full support 49 | Edge Mobile Full support Yes | Firefox Android Full support 15 | Opera Android Full support Yes | Safari iOS Full support Yes | Samsung Internet Android ? |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown
See also
- The interface defining it,
HTMLMediaElement
.