Add "PiP" as a plausible property of windows.WindowType
Categories
(WebExtensions :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: lolipopplus, Unassigned)
References
(Blocks 1 open bug)
Details
Per https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/windows/WindowType
Current types are:
"normal"
"popup"
"panel"
"devtools"
"PiP" simply means it is a PiP pop up
Comment 1•5 years ago
|
||
We should probably have a well-defined idea of what, if anything, we want extensions to know or do with pip prior to taking any feature requests.
Comment 2•5 years ago
|
||
Do you have a use case on why you want to interact with the pip window?
Reporter | ||
Comment 3•5 years ago
|
||
Not me though.
https://github.com/File-New-Project/EarTrumpet/issues/452
Comment 4•5 years ago
|
||
IIUC from the github issue, there is no way to distinguish this window from normal windows. We probably either want a type, make sure it is marked as a popup, or filter this out of any api.
Comment 5•5 years ago
|
||
The PiP overlay is not visible in the extension API, not in Firefox, neither in Chrome.
If you want to mute the PiP player, use tabs.update
to set the muted
property to false
for the tab that serves as the source of the PiP overlay.
Description
•