This feature is not Baseline because it does not work in some of the most widely-used browsers.
The remote read-only property of the HTMLMediaElement interface returns the RemotePlayback object associated with the media element. The RemotePlayback object allow the control of remote devices playing the media.
A RemotePlayback object associated with the media element.
const el = document.createElement("audio");
const remotePlayback = el.remote;
remotePlayback.watchAvailability((availability) => {
// Do something when the availability changes
});
| Specification |
|---|
| Remote Playback API> # dom-htmlmediaelement-remote> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
remote |
121 | 121 | No | 107 | 13.1 | 56 | No | 43 | 13.4 | 6.0 | No | 13.4 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/remote