EaselJs Errors in Chrome

I use the Easeljs library. Everthing works fine in firefox and ie9, with the exception of google chrome mouse events, it doesn’t work, and I got this error "Not Accepted An error occurred. Most likely, this is due to security restrictions when reading canvas data with local or cross-domain images."

+6
source share
3 answers

Submit your page from a web server. Do not open the file from disk in chrome.

+6
source

Another possible working answer:

var queue = new createjs.LoadQueue(true, null, true); 

Since v.0.4.1, here is what they say:

The CrossOrigin flag is already included in the LoadQueue () constructor v.0.4.1.

0
source

Just start Chrome with the -reduce-security-for-testing command line argument. Thus, you can develop your project locally without using a web server.

0
source

Source: https://habr.com/ru/post/917699/


All Articles