HTMLMediaElement: remote property
Limited availability
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.
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 |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
remote |
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.