W3cubDocs

/DOM

HTMLMediaElement.disableRemotePlayback

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

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

© 2005–2018 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