Skip to content

Upstream Document Picture-in-Picture API#12397

Open
vinhill wants to merge 1 commit into
whatwg:mainfrom
vinhill:dpip-upstream-2
Open

Upstream Document Picture-in-Picture API#12397
vinhill wants to merge 1 commit into
whatwg:mainfrom
vinhill:dpip-upstream-2

Conversation

@vinhill
Copy link
Copy Markdown
Contributor

@vinhill vinhill commented Apr 22, 2026

Fixes #12309

@zcorpan @annevk @steimelchrome


/browsing-the-web.html ( diff )
/comms.html ( diff )
/document-lifecycle.html ( diff )
/document-sequences.html ( diff )
/dynamic-markup-insertion.html ( diff )
/imagebitmap-and-animations.html ( diff )
/index.html ( diff )
/indices.html ( diff )
/interaction.html ( diff )
/nav-history-apis.html ( diff )
/system-state.html ( diff )
/timers-and-user-prompts.html ( diff )
/webappapis.html ( diff )

@annevk
Copy link
Copy Markdown
Member

annevk commented Apr 23, 2026

WebKit will likely be opposed to this: WebKit/standards-positions#41 (comment). We don't think this is a good direction for the web and also believe that many of the main use cases driving this could be addressed by enhancements to the Media Session API.

I also think OP is a tad misleading as my understanding is that neither Chromium nor Gecko supports this API on mobile.

@zcorpan
Copy link
Copy Markdown
Member

zcorpan commented Apr 24, 2026

Thanks for reviewing and stating your position.

I've added "desktop only" to OP to clarify the current level of support.

For mobile, I'll note that Android has some precedent:

  • Chrome Custom Tabs can be minimized which create a floating PiP window. Pressing it opens the content again.
  • Google Maps opens a PiP window when navigating and then switching apps. Pressing it opens the app again.
  • Zoom supports opening a PiP window, which has Zoom-specific controls in the PiP window.

and also believe that many of the main use cases driving this could be addressed by enhancements to the Media Session API.

I'd love to hear more about this.

For Document PiP, I suppose the API should be standardized outside of the HTML standard (but monkey patches can still go in HTML)?

@jan-ivar
Copy link
Copy Markdown
Contributor

...many of the main use cases driving this could be addressed by enhancements to the Media Session API.

@annevk do you plan to open issues in https://github.com/w3c/mediasession to discuss these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Upstream Document Picture-in-Picture

4 participants