Bug 172109

Summary: webkitDisplayingFullscreen returns true while in picture-in-picture
Product: WebKit Reporter: Antoine Quint <graouts>
Component: MediaAssignee: 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
Reported 2017-05-15 01:55:58 PDT
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
Radar WebKit Bug Importer
Comment 1 2017-05-15 01:56:14 PDT
Brent Fulgham
Comment 2 2022-02-12 23:34:05 PST
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”
Note You need to log in before you can comment on or make changes to this bug.