HTMLMediaElement.disableRemotePlayback

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

Syntax

var remotePlaybackDisabled ​= element.disableRemotePlayback; 

Value

A Boolean indicating whether the media element may have a remote playback UI. (false means "not disabled", which means "enabled")

Example

var obj = document.createElement('audio');
obj.disableRemotePlayback = true;

Specifications

Specification Status Comment
Remote Playback API
The definition of 'disableRemotePlayback' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
disableRemotePlaybackChrome Full support 49Edge Full support 12Firefox Full support 20IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support 49Chrome Android Full support 49Firefox Android Full support 15Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support 5.0

Legend

Full support
Full support

See also