HTMLMediaElement.disableRemotePlayback

The HTMLMediaElement.disableRemotePlayback property determines whether the media element is allowed to have a remote playback UI. 

Syntax

JavaScript
var remotePlaybackState ​= element.disableRemotePlayback(); 

Value

A Boolean indicating whether the media element may have a remote playback UI.

Example

JavaScript
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

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

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/htmlmediaelement/disableremoteplayback