[Webkit-unassigned] [Bug 234743] Video disappears after calling play() until loaded even with poster present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 22 22:58:13 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=234743

Johannes Odland <johannes.odland at nrk.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannes.odland at nrk.no

--- Comment #11 from Johannes Odland <johannes.odland at nrk.no> ---
>From what I can see after 15.5, the poster disappears on .play(), but the video will not show until enough data is available to play through. 


The second jsfiddle (https://jsfiddle.net/dzrp0vo2/4/) waits for canplaythrough before hitting play. The poster is visible until it is replaced by the video.

The first jsfiddle ( https://jsfiddle.net/e8rwja10/1/) triggers play directly. The poster image dissapears, and some frames show a transparent video element until the enough data is available to play the video.

The user experience this as the video 'blinking' or 'flashing'. 
This was not a problem before Safari 14, and other browsers don't have this problem. 
After the latest patch, the issue appears both in desktop and iOS Safari.



It is now necessary to use JS, preload the video and wait for canplaythrough before playing a video. Pure html video elements with no js will blink (https://codepen.io/johannesodland/pen/XWMNvdW)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220523/3ab85d49/attachment.htm>


More information about the webkit-unassigned mailing list