Implement Document Picture-in-Picture API
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: 709922234, Assigned: vhilla)
References
(Depends on 1 open bug, Blocks 11 open bugs, )
Details
(Keywords: dev-doc-complete, parity-chrome, webcompat:platform-bug, Whiteboard: webcompat:risk-moderate , [wptsync upstream])
User Story
platform-scheduled:2025-12-31 user-impact-score:900
Attachments
(7 files, 2 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
40.35 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/120.0
Comment 1•2 years ago
|
||
The linked doc is for Chrome's Picture-in-Picture Web API, which is unrelated to the Picture-in-Picture browser feature that we ship. This bug is likely meant for the DOM team.
Updated•2 years ago
|
Comment 2•2 years ago
•
|
||
Oops, I changed this to the general older PiP API we don't implement either (except partially disable) instead of the document PiP API specifically which this was originally filed for. Seems fine to leave as is since I couldn't find a bug for it and it is more widely implemented/essentially a precursor anyway.
Updated•2 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•10 months ago
|
| Assignee | ||
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•5 months ago
|
| Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
| Assignee | ||
Comment 4•4 months ago
|
||
| Assignee | ||
Comment 5•4 months ago
|
||
| Assignee | ||
Comment 6•4 months ago
|
||
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 7•4 months ago
|
||
| Assignee | ||
Comment 8•4 months ago
|
||
I attached a screenshot of how the UI currently looks
| Assignee | ||
Comment 9•3 months ago
|
||
Updated•3 months ago
|
Updated•3 months ago
|
| Assignee | ||
Comment 10•3 months ago
|
||
Dao pointed out that the PiP indicator is a inconsistent
since it's not used on some locales nor for vertical
tabs. Instead of introducing it to document PiP,
we might rather remove the indicator. Thus I keep my
patch to show the indicator for document PiP as WIP.
| Assignee | ||
Comment 11•3 months ago
|
||
Comment 12•3 months ago
|
||
Once the patches land, this should be added to the dev release notes and added to https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features.
Sebastian
Comment 13•3 months ago
|
||
Comment on attachment 9514045 [details]
Bug 1858562 - Part 1: Add more WPTs for Document Picture in Picture. r=edgar,#dom-core
Revision D265289 was moved to bug 1997073. Setting attachment 9514045 [details] to obsolete.
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Comment 14•3 months ago
|
||
Comment on attachment 9523145 [details]
WIP: Bug 1858562 - Tab PiP indicator
Revision D270473 was moved to bug 1997522. Setting attachment 9523145 [details] to obsolete.
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Comment 15•1 month ago
|
||
| Assignee | ||
Comment 16•1 month ago
|
||
( I added the WIP patch in case bug 543435 gets backed out again. )
Comment 17•1 month ago
|
||
Comment 19•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8ea1af4c441e
https://hg.mozilla.org/mozilla-central/rev/59e896322809
https://hg.mozilla.org/mozilla-central/rev/bb2448db345f
https://hg.mozilla.org/mozilla-central/rev/ef4ea0d8c6e6
https://hg.mozilla.org/mozilla-central/rev/bd58411bb2eb
| Assignee | ||
Comment 21•1 month ago
|
||
For MDN browser compat data, we support all features except for disallowReturnToOpener.
| Assignee | ||
Comment 22•1 month ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: New web API
[Affects Firefox for Android]: No
[Suggested wording]: Nightly now supports the Document Picture-in-Picture API, which allows web pages to place content in an always-on-top popup.
[Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/API/Document_Picture-in-Picture_API
Comment 23•1 month ago
|
||
Added to the Fx148 nightly release notes, please allow 30 minutes for the site to update.
The nightly-only note will be removed after three cycles or when it is enabled by default, whichever comes earlier.
Updated•24 days ago
|
Comment 24•21 days ago
|
||
Hi there! Does Document PiP Firefox support have a flag to turn it on in non-Nightly browsers?
| Assignee | ||
Comment 25•21 days ago
|
||
(In reply to Chris Mills [:cmills] from comment #24)
Hi there! Does Document PiP Firefox support have a flag to turn it on in non-Nightly browsers?
Yes, it's dom.documentpip.enabled and is available since Fx 148. So while disabled by default, it just reached Beta and isn't in Release yet. Also, we saw TikTok and Spotify only use the API for Chrome user agents.
Comment 26•18 days ago
|
||
The API is already documented on MDN; I've created a PR to add the necessary MDN rel notes for the Firefox support (https://github.com/mdn/content/pull/42825), so I think we can now consider this one complete in terms of the required MDN docs.
Updated•9 days ago
|
Updated•9 days ago
|
Description
•