1. Web
  2. Web APIs
  3. PictureInPictureEvent

PictureInPictureEvent

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Want more support for this feature? Tell us why.

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

Specification
Picture-in-Picture
# event-types

Browser compatibility

See also

  • The Event base interface

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /