Bug 172109
Summary: | webkitDisplayingFullscreen returns true while in picture-in-picture | ||
---|---|---|---|
Product: | WebKit | Reporter: | Antoine Quint <graouts> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | bfulgham, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All |
Antoine Quint
Open https://www.youtube.com/watch?v=seMwpP0yeu4 and enter picture-in-picture. While the video is in picture-in-picture, select the <video> element using the Web Inspector and type $0.webkitDisplayingFullscreen in the console, it returns true.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/32193923>
Brent Fulgham
this is expected behavior. For clients that aren’t aware of picture-in-picture, it is a kind of fullscreen, since the video playback layer is removed from the page.
For clients that know about picture-in-picture, they can use
video.webkitPresentationMode == “picture-in-picture”