Bug 174626

Summary: webkitfullscreenchange event not fired on iOS for vimeo.com videos
Product: WebKit Reporter: Antoine Quint <graouts>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bfulgham, jeremyj-wk, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=174627

Antoine Quint
Reported 2017-07-18 07:12:25 PDT
Steps to reproduce: 1. go to https://vimeo.com/225249697 2. tap to start the video 3. inspect the page to find the <video> element 4. type the following in the Console: $0.addEventListener("webkitpresentationmodechanged", event => console.log(event.type)) 5. type the following in the Console: $0.addEventListener("webkitfullscreenchange", event => console.log(event.type)) 6. enter fullscreen 7. exit fullscreen You'll notice that the "webkitpresentationmodechanged" event gets fired as the media enters and exits fullscreen, but "webkitfullscreenchange" isn't.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-07-18 07:12:45 PDT
Antoine Quint
Comment 2 2017-07-18 07:16:36 PDT
Antoine Quint
Comment 3 2017-07-18 11:24:45 PDT
This is not a recent regression, the same problem exists on iOS 10.3.2.
Brent Fulgham
Comment 4 2022-02-12 23:31:54 PST
This is correct. webkitfullscreenchange is dispatched on element fullscreen, not on video fullscreen. For video fullscreen we dispatch: webkitbeginfullscreenEvent / webkitendfullscreenEvent However, when using the new element fullscreen, you should now see webkitfullscreenchange, but not webkitpresentationmodechanged or webkitbeginfullscreenEvent
Note You need to log in before you can comment on or make changes to this bug.