HTMLVideoElement.autoPictureInPicture
The HTMLVideoElement
autoPictureInPicture
property reflects the HTML attribute indicating whether the video should enter or leave picture-in-picture mode automatically.
Syntax
autoPictureInPicture = htmlVideoElement.autoPictureInPicture;
Value
A boolean value that is true
if the video should enter or leave picture-in-picture mode automatically when changing tab and/or application.
Specifications
Specification |
---|
Picture-in-Picture # auto-pip |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
autoPictureInPicture |
No |
No |
No |
No |
No |
13.1 |
No |
No |
No |
No |
13.4 |
No |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/autoPictureInPicture