[Webkit-unassigned] [Bug 153588] REGRESSION (Safari 9): drawImage doesn't paint the current frame of a video

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 26 08:35:48 PST 2017


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

--- Comment #22 from calipoop at gmail.com ---
(In reply to comment #21)
> 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.

Thanks for the tip - I'll give it a whirl.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170126/a3edc9c6/attachment.html>


More information about the webkit-unassigned mailing list