NEW207932
[ios] webkitCurrentFullScreenElement/fullscreenElement null for fullscreen <video>
https://bugs.webkit.org/show_bug.cgi?id=207932
Summary [ios] webkitCurrentFullScreenElement/fullscreenElement null for fullscreen <v...
Jerry Jongerius
Reported 2020-02-19 03:10:45 PST
1) Visit: https://www.duckware.com/test/webkit/iosplayvideofails.html 2) touch/click in lower box (video then plays) 3) click on the 'fullscreen' button 4) after 10 seconds, exit fullscreen 5) observe msg line: during video fullscreen, document.webkitCurrentFullScreenElement was defined, and null A workaround to this bug is that during fullscreen, webkitDisplayingFullscreen is true on the <video> element.
Attachments
testcase (460 bytes, text/html)
2026-10-13 03:07 PDT, Frédéric Wang Nélar
no flags
testcase 2 (618 bytes, text/html)
2026-10-13 03:14 PDT, Frédéric Wang Nélar
no flags
Radar WebKit Bug Importer
Comment 1 2020-02-19 23:21:18 PST
Frédéric Wang Nélar
Comment 2 2026-10-13 03:07:07 PDT Comment hidden (obsolete)
Frédéric Wang Nélar
Comment 3 2026-10-13 03:14:11 PDT
Created attachment 481787 [details] testcase 2
Frédéric Wang Nélar
Comment 4 2026-10-13 03:21:49 PDT
The link from original report is broken but I've uploaded a new test. 1) Visit https://bug-207932-attachments.webkit.org/attachment.cgi?id=481787 2) Either click on fullscreen button or the play the video and use the fullscreen double diagonal arrow 3) wait 6-7 seconds, exit fullscreen 4) observe the messages: webkitCurrentFullScreenElement / fullscreenElement On desktop, I'm getting [HTMLVideoElement]. On iphone (with fullscreen API enabled) or ipad I'm getting null.
Note You need to log in before you can comment on or make changes to this bug.