On Mon, Jan 24, 2022 at 9:06 PM Tommy Steimel <[email protected]> wrote:
> Contact [email protected], [email protected], > [email protected], [email protected] > > Explainer > https://github.com/steimelchrome/document-pip-explainer/blob/main/explainer.md > Thanks for the explainer! I'd love to see some more use cases that outline what people are actually trying to do that this would solve. (There are a couple that emerged on the discourse discussion <https://discourse.wicg.io/t/proposal-document-picture-in-picture/5736>. Would be good to integrate them into the explainer and maybe add more y'all have in mind) > > > Specification > > Summary > > Document PiP adds a new API to open an always-on-top window that can be > populated with arbitrary HTMLElements. This is an expansion upon the > existing HTMLVideoElement API that only allows for an HTMLVideoElement to > be put into a PiP window. This allows web developers to provide a better > PiP experience to users. > > > Blink componentBlink>Media>PictureInPicture > <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EMedia%3EPictureInPicture> > > Motivation > > There currently exists a Web API for putting an HTMLVideoElement into a > Picture-in-Picture window (videoElement.requestPictureInPicture()). If a > website wants to have something as simple as custom media controls icons or > as complex as a full scrollable playlist in the PiP window, they can’t > currently provide it in the existing HTMLVideoElement experience. We want > to expand upon that functionality with a new method on the Window object > (window.requestPictureInPictureWindow()) which opens a picture-in-picture > (i.e. always-on-top) window with a blank document that can be populated > with arbitrary HTMLElements instead of only a single HTMLVideoElement. > > > Initial public proposal > https://discourse.wicg.io/t/proposal-document-picture-in-picture/5736 > > TAG review > Might be worthwhile to file for an early review to get the TAG's opinion on the feature and the proposed shape. > > > TAG review statusPending > > Risks > > > Interoperability and Compatibility > > > > Gecko: No signal > > WebKit: No signal > > Web developers: Positive ( > https://discourse.wicg.io/t/proposal-document-picture-in-picture/5736/2?u=steimel) > In addition to the linked comment, we have some signals from partners that > this would be valuable, and are checking to see if they are OK making that > public > > Other signals: > > > Debuggability > > The new methods and properties proposed in this spec will show up in > autocomplete functionality (e.g. window.requestPictureInPictureWindow()). > The enterpictureinpicture and leavepictureinpicture events will support > event listener breakpoints in the "Picture-in-Picture" category. > > > Is this feature fully tested by web-platform-tests > <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md> > ?No > > Flag namePictureInPictureV2 > > Requires code in //chrome?True > > Tracking bughttps://crbug.com/1269059 > > Launch bughttps://crbug.com/1269059 > > Estimated milestones > > No milestones specified > > > Link to entry on the Chrome Platform Status > https://chromestatus.com/feature/5755179560337408 > > This intent message was generated by Chrome Platform Status > <https://chromestatus.com/>. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGyVZ8L-SmBFbBMvvbm0x3TwZ66JQ1Fm7_zb3nSiBvYhXavAuA%40mail.gmail.com > <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGyVZ8L-SmBFbBMvvbm0x3TwZ66JQ1Fm7_zb3nSiBvYhXavAuA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfX0qURdVCg3LZd3E3u8zK9e%3DQShh%2BdpbJRB3af3_T%3DwVg%40mail.gmail.com.
