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

clock.html demo does not work in Firefox and Chromium #51

Open
hckr opened this issue Jan 1, 2017 · 2 comments
Open

clock.html demo does not work in Firefox and Chromium #51

hckr opened this issue Jan 1, 2017 · 2 comments

Comments

@hckr
Copy link

hckr commented Jan 1, 2017

Demo on http://antimatter15.com/whammy/clock.html does not work correctly.
Firefox shows an error in console (no line specified):

uncaught exception: Input must be formatted properly as a base64 encoded DataURI of type image/webp

Chromium show other errors (CORS-related):

Refused to load the script 'http://antimatter15.com/whammy/whammy.js' because it violates the following Content Security Policy directive: "script-src 'none'". (clock.html:13)
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'none'". Either the 'unsafe-inline' keyword, a hash ('sha256-BfZLB9J/Cyv0abkx6zfwQQIH+DNd2s/8O6jyPoKNp1I='), or a nonce ('nonce-...') is required to enable inline execution.

@cmdcolin
Copy link

I see the same error from firefox. My own webapp is getting unplayable webms from chrome, but the clock example webapp webm plays ok

@JakeTrock
Copy link

The Firefox error is because Firefox dosen't yet support Google's webp format, don't know about the chrome one, though

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

3 participants