Bug 189052

Summary: onwebkitfullscreenchange present, but not firing in iOS 12 when target is video element
Product: WebKit Reporter: Jack Wellborn <w0nka>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jeremyj-wk, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: iPhone / iPad   
OS: Other   

Description Jack Wellborn 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
Comment 1 Radar WebKit Bug Importer 2018-08-28 19:49:30 PDT
<rdar://problem/43826046>
Comment 2 Jer Noble 2018-08-29 09:48:02 PDT
Jack, as a workaround, you can listen for the legacy 'webkitbeginfullscreen' and 'webkitendfullscreen' events.
Comment 3 Jack Wellborn 2018-08-29 10:18:55 PDT
Thanks Jer. That is exactly what we are doing.
Comment 4 Jack Wellborn 2018-08-29 14:37:32 PDT
Is there anyway I can track bugs I submit when they go into Radar?
Comment 5 Jer Noble 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.
Comment 6 Lucas Forschler 2019-02-06 09:19:05 PST
Mass move bugs into the DOM component.