W3cubDocs

/Web APIs

PictureInPictureEvent

The PictureInPictureEvent interface represents picture-in-picture-related events, including enterpictureinpicture, leavepictureinpicture and resize

Event PictureInPictureEvent

Constructor

PictureInPictureEvent()

Creates a PictureInPictureEvent event with the given parameters.

Instance properties

This interface also inherits properties from its parent Event.

PictureInPictureEvent.pictureInPictureWindow

Returns the PictureInPictureWindow the event relates to.

Instance methods

This interface also inherits methods from its parent Event.

Specifications

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
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

See also

  • The 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