We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support49 Yes209 Yes Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4949 Yes15 Yes Yes ?

See also

Document Tags and Contributors

Contributors to this page: fscholz, jpmedley, dgashmdn
Last updated by: fscholz,