The HTMLMediaElement.disableRemotePlayback
property determines whether the media element is allowed to have a remote playback UI.
The HTMLMediaElement.disableRemotePlayback
property determines whether the media element is allowed to have a remote playback UI.
A boolean value indicating whether the media element may have a remote playback UI. (false means "not disabled", which means "enabled")
js
const obj = document.createElement("audio"); obj.disableRemotePlayback = true;
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 |
HTMLMediaElement
: Interface used to define the HTMLMediaElement.disableRemotePlayback
property
© 2005–2023 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