W3cubDocs

/Web APIs

HTMLMediaElement: disableRemotePlayback property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The disableRemotePlayback property of the HTMLMediaElement interface determines whether the media element is allowed to have a remote playback UI.

Value

A boolean value indicating whether the media element may have a remote playback UI. (false means "not disabled", which means "enabled")

Example

const obj = document.createElement("audio");
obj.disableRemotePlayback = true;

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
disableRemotePlayback 121 121 No 107 13.1 56 No 43 13 6.0 No 13

See also

© 2005–2025 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