HTMLMediaElement: disableRemotePlayback-Eigenschaft
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Die disableRemotePlayback
-Eigenschaft der HTMLMediaElement
-Schnittstelle bestimmt, ob das Medien-Element eine Remote-Wiedergabe-UI haben darf.
Wert
Ein boolescher Wert, der angibt, ob das Medien-Element eine Remote-Wiedergabe-UI haben darf. (false
bedeutet "nicht deaktiviert", was "aktiviert" bedeutet)
Beispiel
js
const obj = document.createElement("audio");
obj.disableRemotePlayback = true;
Spezifikationen
Specification |
---|
Remote Playback API # the-disableremoteplayback-attribute |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
disableRemotePlayback |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.