WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
189052
[iOS] onwebkitfullscreenchange/onfullscreenchange present, but not firing when target is video element
https://bugs.webkit.org/show_bug.cgi?id=189052
Summary
[iOS] onwebkitfullscreenchange/onfullscreenchange present, but not firing whe...
Jack Wellborn
Reported
2018-08-28 10:57:34 PDT
Hello, iOS 12 Safari/Webkit introduces support for the `document.onwebkitfullscreenchange`. While this event seems to work when non-video elements request fullscreen, it does not work with the `<video>` element. Here is an example that requests full screen on a `<div>` and `<video>`, and console.logs when `onwebkitfullscreenchange` is fired:
https://jackwellborn.com/playground/videoFullScreenTest.html
. The example fires `onwebkitfullscreenchange` for both the div and video in Desktop Safari Technology Preview (Release 63 (Safari 12.1, WebKit 13607.1.2.1)) as expected, but only fires it for the div in iOS 12 Public Beta 8 or 9. Let me know if you need any more clarification or have follow questions. Thanks. ~Jack
Attachments
onwebkitfullscreenchange
(563 bytes, text/html)
2026-10-13 04:26 PDT
,
Frédéric Wang Nélar
no flags
Details
onfullscreenchange
(551 bytes, text/html)
2026-10-13 04:26 PDT
,
Frédéric Wang Nélar
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-08-28 19:49:30 PDT
<
rdar://problem/43826046
>
Jer Noble
Comment 2
2018-08-29 09:48:02 PDT
Jack, as a workaround, you can listen for the legacy 'webkitbeginfullscreen' and 'webkitendfullscreen' events.
Jack Wellborn
Comment 3
2018-08-29 10:18:55 PDT
Thanks Jer. That is exactly what we are doing.
Jack Wellborn
Comment 4
2018-08-29 14:37:32 PDT
Is there anyway I can track bugs I submit when they go into Radar?
Jer Noble
Comment 5
2018-08-29 15:20:23 PDT
Jack, the work will happen here in this Bugzilla bug, so this is the best place to track your issue.
Lucas Forschler
Comment 6
2019-02-06 09:19:05 PST
Mass move bugs into the DOM component.
Frédéric Wang Nélar
Comment 7
2026-10-13 04:26:28 PDT
Created
attachment 481788
[details]
onwebkitfullscreenchange
Frédéric Wang Nélar
Comment 8
2026-10-13 04:26:39 PDT
Created
attachment 481789
[details]
onfullscreenchange
Frédéric Wang Nélar
Comment 9
2026-10-13 04:32:45 PDT
I confirm the bug is still present on ipad and ios with fullscreen api enabled. same for the standard onfullscreenchange. on desktop it works as expected.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug