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

jsPsychSketchpad background image cross origin issue #3225

Open
Shaobin-Jiang opened this issue Jan 26, 2024 · 0 comments
Open

jsPsychSketchpad background image cross origin issue #3225

Shaobin-Jiang opened this issue Jan 26, 2024 · 0 comments

Comments

@Shaobin-Jiang
Copy link
Contributor

See discussion originally posted by @HenningTm in #3224.

Setting save_final_image property of jsPsychSketchpad plugin to true, which invokes the toDataURL method of a canvas, causes Tainted canvases may not be exported error. This might be fixed by adding this.background_image.crossOrigin = 'Anonymous'; during image loading.

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

1 participant