HTMLMediaElement: remote property - Web APIs | MDN
Value
A RemotePlayback object associated with the media element.
Example
js
const el = document.createElement("audio");
const remotePlayback = el.remote;
remotePlayback.watchAvailability((availability) => {
// Do something when the availability changes
});
Specifications
| Specification |
|---|
| Remote Playback API # dom-htmlmediaelement-remote |