<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION (Safari 9): drawImage doesn't paint the current frame of a video"
href="https://bugs.webkit.org/show_bug.cgi?id=153588#c22">Comment # 22</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION (Safari 9): drawImage doesn't paint the current frame of a video"
href="https://bugs.webkit.org/show_bug.cgi?id=153588">bug 153588</a>
from <span class="vcard"><a class="email" href="mailto:calipoop@gmail.com" title="calipoop@gmail.com">calipoop@gmail.com</a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=153588#c21">comment #21</a>)
<span class="quote">> call draw image then a timeout then draw image again for Safari. It stops
> the black frame issue.
>
> Here is an es6 util of mine before I do the actual capture
>
> preCapture(container, onSuccess) {
> const canvas = this.createCanvas(),
> context = canvas.getContext("2d");
> context.drawImage(container, 0, 0);
> this.clearCanvas(canvas);
>
> setTimeout(() => {
> onSuccess(container);
> }, 1000);
> }
>
> Maybe its only required once no idea.
>
> I've become a master of finding work around for all these faulty webkit
> flaws.
>
> I even copped abuse on one ticket for eventually reporting a work around in
> that ticket and telling them not to bother after months of no response hahah.</span >
Thanks for the tip - I'll give it a whirl.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>