MDN self-hosted library · e01.org

PictureInPictureEvent

Picture-in-Picture API

no runnable cells web-api-interface upstream source

Picture-in-Picture API

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

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

See also

  • The Event base interface