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

Fixed, not yet flighted Issue #836341

Details

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

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

See this test case:
http://jsbin.com/logoha/1/edit

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:
https://connect.microsoft.com/IE/feedback/details/927217/webgl-video-texture-support-is-broken-possible-regression

Actual Results:

Dev Channel specific:

No

Attachments

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 to “Fixed, not yet flighted”

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

    Sign in