The PictureInPictureEvent
interface represents picture-in-picture-related events, including enterpictureinpicture
, leavepictureinpicture
and resize
<div id="interfaceDiagram" style="display: inline-block; position: relative; width: 100%; padding-bottom: 11.666666666666666%; vertical-align: middle; overflow: hidden;"><svg style="display: inline-block; position: absolute; top: 0; left: 0;" viewbox="-50 0 600 70" preserveAspectRatio="xMinYMin meet"><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/PictureInPictureEvent" target="_top"><rect x="1" y="1" width="210" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="106" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">PictureInPictureEvent</text></a></svg></div>
a:hover text { fill: #0095DD; pointer-events: all;}
Constructor
PictureInPictureEvent()
- Creates a
PictureInPictureEvent
event with the given parameters.
Properties
This interface also inherits properties from its parent Event
.
Methods
This interface also inherits properties from its parent Event
.
Specifications
Specification | Status | Comment |
---|---|---|
UnknownThe definition of 'PictureInPictureEvent' in that specification. | Unknown |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "api.PictureInPictureEvent" (depth: 1) to the MDN compatibility data repository.
See also
- The
Event
base interface
PictureInPictureEvent by Mozilla Contributors is licensed under CC-BY-SA 2.5.