HTMLMediaElement: remote プロパティ
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
remote
は HTMLMediaElement
インターフェイスの読み取り専用プロパティで、このメディア要素に関連付けられた RemotePlayback
オブジェクトを返します。RemotePlayback
オブジェクトは、メディアを再生するリモート端末を制御することができます。
値
このメディア要素に関連付けられた RemotePlayback
オブジェクトです。
例
js
const el = document.createElement("audio");
const remotePlayback = el.remote;
remotePlayback.watchAvailability((availability) => {
// 利用できる状況が変わったら何かを行う
});
仕様書
Specification |
---|
Remote Playback API # dom-htmlmediaelement-remote |
ブラウザーの互換性
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.