This article needs a technical review. How you can help.
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
See also
- The interface defining it,
HTMLMediaElement
.