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 value 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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
disableRemotePlayback
49
79
No
No
36
13.1
No
49
No
36
13
5.0

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/disableRemotePlayback