Expose Picture-in-Picture Window in leavepictureinpicture event

Allow web developers to access pictureInPictureWindow in leavepictureinpicture event.

Motivation

Web developers won’t have to keep a global reference to the pictureInPictureWindow object that was available already in the enterpictureinpicture event.

Documentation

Specification

Editor's draft

Status in Chromium

Blink>Media>PictureInPicture


Enabled by default (tracking bug) in:

  • Chrome for desktop release 85

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Intent to Prototype url

Intent to Prototype thread

Last updated on 2020-10-19