[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
Wed Jan 25 23:03:34 PST 2017


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

--- Comment #21 from Daniel Rossi <electroteque at gmail.com> ---
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.

-- 
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/3739b49b/attachment-0001.html>


More information about the webkit-unassigned mailing list