-
Notifications
You must be signed in to change notification settings - Fork 907
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
Problem with CORS #1478
Comments
Does it help if you add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I simply couldn't use ml5.js in the browser. I was using an HTML file in Firefox, testing this amazing library. The error reported was that CORS was blocking it because it wasn't HTTP. I was using the example code from the "Getting Started" page of the documentation. Due to CORS, the image cannot be rendered or recognized. The error referred to me not being on HTTP. The only way out was to use NWjs to use ml5.js, and then it worked perfectly. The browser is Firefox.
The text was updated successfully, but these errors were encountered: