Get to know MDN better
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The HTMLVideoElement disablePictureInPicture property reflects the HTML attribute indicating whether the picture-in-picture feature is disabled for the current element.
This value only represents a request from the website to the user agent. User configuration may change the eventual behavior—for example, Firefox users can change the media.videocontrols.picture-in-picture.respect-disablePictureInPicture setting to ignore the request to disable PiP.
A boolean value that is true if the picture-in-picture feature is disabled for this element. This means that the user agent should not suggest that feature to users, or request it automatically.
| Picture-in-Picture # dom-htmlvideoelement-disablepictureinpicture |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Nov 7, 2024 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.