Re: [w3ctag/design-reviews] Early design review: Document Picture-in-Picture (Issue #798)

This is an exciting proposal!

Some questions:

 - the lifetime of the PIP window isn't exactly clear from the explainer. Consider, for instance, wanting to create an MPA-style media application that uses Viewport Transitions, but continually plays media in a PIP window. Will transitioning from the original host window to the next (same origin) page in the main frame kill PIP playback in this model?
 - if not, how does the destination window receive or re-create a handle to the PIP window? Is that what the global `documentPictureInPicture` is for?
 - How are multiple PIP windows handled in a desktop scenario where multiple windows request PIP?
 - is `documentPictureInPicture` the actual entrypoint? It seems a strange location for the API A more natural location might be on `navigator` or as an extension to [`clients.openWindow()`](https://developer.mozilla.org/en-US/docs/Web/API/Clients/openWindow)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/798#issuecomment-1376532815
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/798/1376532815@github.com>

Received on Tuesday, 10 January 2023 00:19:43 UTC