Bug 236642

Summary: Placeholder image blinks on exiting picture in picture presentation mode
Product: WebKit Reporter: Cyril CAMBOURNAC <cyril.cambournac>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: jer.noble, peng.liu6, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   
Attachments:
Description Flags
Video capture showing the codepen example none

Cyril CAMBOURNAC
Reported 2022-02-15 05:30:08 PST
Created attachment 452012 [details] Video capture showing the codepen example When exiting picture-in-picture presentation mode, the picture-in-picture placeholder image blinks on top of the video. Codepen to reproduce: https://codepen.io/ccambour/pen/mdqwOGM
Attachments
Video capture showing the codepen example (49.14 MB, video/mp4)
2022-02-15 05:30 PST, Cyril CAMBOURNAC
no flags
Radar WebKit Bug Importer
Comment 1 2022-02-15 19:18:22 PST
Peng Liu
Comment 2 2022-02-15 19:28:26 PST
Thanks for the bug report! The root cause of this issue is that the "webkitpresentationmodechanged" event is fired after the exit picture-in-picture animation finishes. The media controls removes the placard in the event handler, so it is a little later than expected.
Note You need to log in before you can comment on or make changes to this bug.