The PictureInPictureEvent interface represents picture-in-picture-related events, including enterpictureinpicture, leavepictureinpicture and resize
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 | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
PictureInPictureEvent |
8569–85 | 8579–85 | No | No | 7156–71 | 1613.1 | No | 105 | No | 72 | 1613.4 | 20.0 |
PictureInPictureEvent |
8569–85 | 8579–85 | No | No | 7156–71 | 1613.1 | No | 105 | No | 72 | 1613.4 | 20.0 |
pictureInPictureWindow |
69 | 79 | No | No | 56 | 13.1 | No | 105 | No | 72 | 13.4 | 20.0 |
Event base interface
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PictureInPictureEvent