HTMLMediaElement: remote-Eigenschaft

Limited availability

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

Die schreibgeschützte Eigenschaft remote des HTMLMediaElement-Interfaces gibt das mit dem Media-Element verknüpfte RemotePlayback-Objekt zurück. Das RemotePlayback-Objekt ermöglicht die Steuerung von Remote-Geräten, die die Medien abspielen.

Wert

Ein RemotePlayback-Objekt, das mit dem Media-Element verknüpft ist.

Beispiel

js
const el = document.createElement("audio");
const remotePlayback = el.remote;

remotePlayback.watchAvailability((availability) => {
  // Do something when the availability changes
});

Spezifikationen

Specification
Remote Playback API
# dom-htmlmediaelement-remote

Browser-Kompatibilität

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
remote

Legend

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

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