Bug 236642 - Placeholder image blinks on exiting picture in picture presentation mode
Summary: Placeholder image blinks on exiting picture in picture presentation mode
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-15 05:30 PST by Cyril CAMBOURNAC
Modified: 2022-02-15 19:28 PST (History)
3 users (show)

See Also:


Attachments
Video capture showing the codepen example (49.14 MB, video/mp4)
2022-02-15 05:30 PST, Cyril CAMBOURNAC
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril CAMBOURNAC 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
Comment 1 Radar WebKit Bug Importer 2022-02-15 19:18:22 PST
<rdar://problem/89001694>
Comment 2 Peng Liu 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.