Movatterモバイル変換


[0]ホーム

URL:


  1. 面向开发者的 Web 技术
  2. Web API
  3. HTMLMediaElement
  4. disableRemotePlayback

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in EnglishAlways switch to English

HTMLMediaElement:disableRemotePlayback 属性

Limited availability

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

HTMLMediaElement 接口的disableRemotePlayback 属性用于确定媒体元素是否允许具有远程播放 UI。

一个布尔值,指示媒体元素是否可以具有远程播放 UI。(false 表示“未禁用”,即“已启用”)

示例

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

规范

Specification
Remote Playback API
# the-disableremoteplayback-attribute

浏览器兼容性

参见

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp