NEW 189052
onwebkitfullscreenchange present, but not firing in iOS 12 when target is video element
https://bugs.webkit.org/show_bug.cgi?id=189052
Summary onwebkitfullscreenchange present, but not firing in iOS 12 when target is vid...
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
Radar WebKit Bug Importer
Comment 1 2018-08-28 19:49:30 PDT
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.
Note You need to log in before you can comment on or make changes to this bug.