[Webkit-unassigned] [Bug 103257] crossOrigin property on HTMLMediaElement is not supported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 15 23:08:27 PST 2015


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

--- Comment #3 from Daniel Rossi <electroteque at gmail.com> ---
Let me bring example code over to here with one exception. IOS didn't like the extra arguments to drawImage and produces a blank canvas ! 

this.canvas = document.createElement("canvas");
    this.canvas.setAttribute("width", width);
    this.canvas.setAttribute("height", height);
var ctx = this.canvas.getContext('2d');
 ctx.drawImage(video,0, 0, width, height);
var dataURL = this.canvas.toDataURL("image/" + this.type, this.quality);

Without the proxy work around this will fail because lack of crossorigin attribute. The default android browser suffers the same issue however it also fails with the security work around ! 

Here is a working example for safari IOS and IE11 with the proxy work around, it makes a capture from an offscreen video tag with the reformatted url of the same sub domain, it will fail even with the same top level domain.

https://flowplayer.electroteque.org/snapshot/fp6

-- 
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/20151116/2e8e526d/attachment-0001.html>


More information about the webkit-unassigned mailing list