HTMLVideoElement:disablePictureInPicture 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
HTMLVideoElement
的 disablePictureInPicture
属性反映了指示当前元素的画中画特性是否被禁用的 HTML 属性。
此值仅代表网站向用户代理发出的请求。用户配置可能会改变最终行为——例如,Firefox 用户可以更改 media.videocontrols.picture-in-picture.respect-disablePictureInPicture
设置以忽略禁用画中画的请求。
值
一个布尔值,如果当前元素的画中画特性被禁用,则为 true
。这意味着用户代理不应向用户建议或自动请求该特性。
规范
Specification |
---|
Picture-in-Picture # dom-htmlvideoelement-disablepictureinpicture |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
disablePictureInPicture |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
- No support
- No support
- Has more compatibility info.
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.