Contact emails
fbea...@chromium.org, mlam...@chromium.org
Spec
Specification: https://w3c.github.io/picture-in-picture/
PR: https://github.com/w3c/picture-in-picture/pull/189
Summary
Allow web developers to access pictureInPictureWindow in leavepictureinpicture event.
Explainer
As raised by Mozilla folks at https://github.com/w3c/picture-in-picture/issues/188, we should provide a way to access the Picture-in-Picture window when user-agent leaves Picture-in-Picture. This is why we’re adding a pictureInPictureWindow attribute to the 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.
Link to “Intent to Ship” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/ibVPbqBQapU/eMblkidrAgAJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
The feature will be supported on all platforms (except Android WebView).
Interoperability and Compatibility
We're adding a new attribute to the leavepictureinpicture event, so it's unlikely web developers already rely on an undefined value.
Edge: No signals
Firefox: Positive signals
Safari: Public support
Web developers: No signals
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
Web platform tests will be updated and available at https://wpt.fyi/results/picture-in-picture.
Feature dashboard
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEZxfGOxrX%2BtJVK5p1OUr9gAgTUk38izYc1UYkgAWKZuSV4D%3Dw%40mail.gmail.com.
LGTM2
Note that when ask for the opinion of other engines (to learn if
a change could turn into a long term incompatibility), we're
usually looking for something more official. Chris wrote some
about this not too long ago. In this case I'm ok with this level
of support though since it's a minor change and I see no reason it
won't just be added to all engines as soon as it's convenient.
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEh8AAoGjZNpqmLxRMLd2PWeUnetMpwaaEdk7_kPVq%2BMfA%40mail.gmail.com.