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.