This feature is not Baseline because it does not work in some of the most widely-used browsers.
The PictureInPictureEvent interface represents picture-in-picture-related events, including enterpictureinpicture, leavepictureinpicture and resize.
PictureInPictureEvent()Creates a PictureInPictureEvent event with the given parameters.
This interface also inherits properties from its parent Event.
PictureInPictureEvent.pictureInPictureWindowReturns the PictureInPictureWindow the event relates to.
This interface also inherits methods from its parent Event.
| Specification |
|---|
| Picture-in-Picture> # event-types> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
PictureInPictureEvent |
8569–85 | 8579–85 | No | 7156–71 | 1613.1 | 105 | No | 72 | 1613.4 | 20.0 | No | 1613.4 |
PictureInPictureEvent |
8569–85 | 8579–85 | No | 7156–71 | 1613.1 | 105 | No | 72 | 1613.4 | 20.0 | No | 1613.4 |
pictureInPictureWindow |
69 | 79 | No | 56 | 13.1 | 105 | No | 72 | 13.4 | 20.0 | No | 13.4 |
Event base interface
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PictureInPictureEvent