PictureInPictureEvent
Limited availability
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.
Constructor
PictureInPictureEvent()-
Creates a
PictureInPictureEventevent with the given parameters.
Instance properties
This interface also inherits properties from its parent Event.
PictureInPictureEvent.pictureInPictureWindow-
Returns the
PictureInPictureWindowthe event relates to.
Instance methods
This interface also inherits methods from its parent Event.
Specifications
| Specification |
|---|
| Picture-in-Picture # event-types |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
PictureInPictureEvent
|
|
|
|
|
|
|
|
|
|
|
|
|
PictureInPictureEvent() constructor
|
|
|
|
|
|
|
|
|
|
|
|
|
pictureInPictureWindow
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
- Uses a non-standard name
- Has more compatibility info.
See also
- The
Eventbase interface