RESOLVED INVALID 172109
webkitDisplayingFullscreen returns true while in picture-in-picture
https://bugs.webkit.org/show_bug.cgi?id=172109
Summary webkitDisplayingFullscreen returns true while in picture-in-picture
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.