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

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

Specifications

Specification
Remote Playback API
# the-disableremoteplayback-attribute

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
disableRemotePlayback

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.

See also