support crossOrigin/CORS for drawing video to canvas (both 2d and WebGL)

Issue #836341


Sep 15, 2014
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

See this test case:

Click anywhere on the canvas to run getImageData. If crossOrigin is supported, output will be logged to console. Otherwise, it will throw an error.

Expected Results:

HTMLVideoElement objects should have a crossOrigin property that corresponds to the crossorigin attribute on the element. If a video element has this attribute and the appropriate headers are delivered from the server, drawing the video to a canvas should not set the canvas to a “dirty” security state. It should still be possible to read back pixels from that canvas.

This should also work with WebGL, once video textures are implemented. Refer to this ticket:

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “IE F.”

      Changed Status

    You need to sign in to your Microsoft account to add a comment.

    Sign in