This topic has 5 replies, 2 voices, and was last updated 9 years, 11 months ago ago by Robert Hall
When I inspect element in chrome on the Legenda home page, I see this error: Uncaught SecurityError: Failed to execute ‘toDataURL’ on ‘HTMLCanvasElement’: Tainted canvases may not be exported.
I added these directives to my .htaccess file in the dev directory, where WP and the theme are located. However, it does not seem to relieve the error.
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
<FilesMatch “\.(cur|gif|ico|jpe?g|png|svgz?|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
The plugin referenced in the error message is plugins.min.js?ver=4.0.1:1. This appears to access YouTube. What is the correct file extension to add to the above directive set? If I did the directives incorrectly, or put them in the wrong directory, please let me know what the right fix would be.
Hello,
Please provide us with FTP credentials in Private Content.
Regards,
Robert Hall.
The information you requested is in the private section of this posting.
Never mind, folks. I migrated the whole wordpress install to public_html, instead of simply referring to the install in the dev directory. The tainted canvas issue has been relieved.
Cheers,
Stu
Hello,
We’re glad to hear that issue has been relieved.
If you have any questions feel free to contact us.
Regards,
Robert Hall.
The issue related to '‘Tainted Canvas Error’' has been successfully resolved, and the topic is now closed for further responses