Bug 303674
| Summary: | [PIP - Resume] twitch.tv: Unable to resume PIP video until switching back to tab video is playing in | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | New Bugs | Assignee: | Brent Fulgham <bfulgham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Brent Fulgham
Some media players use the VisibilityState API as part of their media controls logic. This creates a problem for some PIP flows, where the PIP video might be owned by a tab the user has moved away from.
Since switching from one tab to another while in PIP is a very common use case, this patch creates a quirk that adjusts the behavior of visibilityState to indicate that the document is visible if it has an active PIP window.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
<rdar://problem/102420527>
Brent Fulgham
Pull request: https://github.com/WebKit/WebKit/pull/54967
EWS
Committed 304308@main (54e267670df1): <https://commits.webkit.org/304308@main>
Reviewed commits have been landed. Closing PR #54967 and removing active labels.