Firefox Tomorrow

web api instance property

HTMLMediaElement: disableRemotePlayback property

View on MDN ↗

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also