HTMLMediaElement: remote プロパティ

Limited availability

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

remoteHTMLMediaElement インターフェイスの読み取り専用プロパティで、このメディア要素に関連付けられた 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 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.