HTMLMediaElement: disableRemotePlayback プロパティ

Limited availability

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

disableRemotePlaybackHTMLMediaElement インターフェイスのプロパティで、このメディア要素がリモート再生 UI を持つことを許可するかどうかを決定します。

論理値で、このメディア要素がリモート再生 UI を持つことができるかどうかを示します。(false は「無効ではない」、すなわち「有効」を意味します)

js
const obj = document.createElement("audio");
obj.disableRemotePlayback = true;

仕様書

Specification
Remote Playback API
# the-disableremoteplayback-attribute

ブラウザーの互換性

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
disableRemotePlayback

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.

関連情報