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

Specification Status Comment
Remote Playback API
The definition of 'disableRemotePlayback' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

BCD tables only load in the browser

See also