Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Console Error And Mask Not Working #9

Open
dada78 opened this issue Jan 7, 2019 · 3 comments
Open

Chrome Console Error And Mask Not Working #9

dada78 opened this issue Jan 7, 2019 · 3 comments

Comments

@dada78
Copy link

dada78 commented Jan 7, 2019

I downloaded the example files but the masks aren't showing when viewing in the latest Chrome (Mac). I get a console error:"Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
at HTMLImageElement.mask.onload (file:///Users/cfuller1/Downloads/canvas-masking-master/canvasmask.js:28:33"

No problem in Firefox. Any idea what the issue is? Thanks~

@codepo8
Copy link
Owner

codepo8 commented Jan 7, 2019 via email

@codepo8
Copy link
Owner

codepo8 commented Jan 7, 2019 via email

@dada78
Copy link
Author

dada78 commented Jan 7, 2019

I see. I thought it would a cross domain issue and enabled CORS on Chrome but wasn't working, but yeah works on server. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants