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 compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 49 Yes 20 9 Yes Yes
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 49 49 Yes 15 Yes Yes ?

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