Closed Bug 1606422 Opened 5 years ago Closed 5 years ago

Add "PiP" as a plausible property of windows.WindowType

Categories

(WebExtensions :: General, enhancement)

Desktop
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

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

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.

Flags: needinfo?(philipp)

Do you have a use case on why you want to interact with the pip window?

Flags: needinfo?(philipp) → needinfo?(lolipopplus)
Flags: needinfo?(lolipopplus)

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.

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.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.