PictureInPictureEvent: PictureInPictureEvent() constructor
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The PictureInPictureEvent() constructor returns a new PictureInPictureEvent object.
Syntax
js
new PictureInPictureEvent(type, options)
Parameters
Return value
A new PictureInPictureEvent object.
Specifications
| Specification |
|---|
| Picture-in-Picture # dom-pictureinpictureevent-pictureinpictureevent |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
PictureInPictureEvent() constructor
|
|
|
|
|
|
|
|
|
|
|
|
|
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
PictureInPictureEventinterface it belongs to.