Web/API/HTMLMediaElement/disableRemotePlayback

From Get docs

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 APIThe definition of 'disableRemotePlayback' in that specification. Candidate Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
disableRemotePlayback Chrome

Full support 49

Edge

Full support 12

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

Firefox Android

Full support 15

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support 5.0

Legend

Full support  
Full support


See also