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

Safari: ReferenceError: Can't find variable: AudioContext #12

Open
iceiix opened this issue May 24, 2019 · 0 comments
Open

Safari: ReferenceError: Can't find variable: AudioContext #12

iceiix opened this issue May 24, 2019 · 0 comments

Comments

@iceiix
Copy link

iceiix commented May 24, 2019

Safari 12.1.1 fails to load pinky, console shows it cannot find AudioContext (works on Chrome 74.0.3729.157):

[Log] WebGL support using context: – "webgl" (app.js, line 561)
[Log] Error loading Rust wasm module 'pinky_web': – ReferenceError: Can't find variable: AudioContext (app.js, line 38)
ReferenceError: Can't find variable: AudioContext
[Error] Unhandled Promise Rejection: ReferenceError: Can't find variable: AudioContext
(anonymous function) (app.js:39)
promiseReactionJob

Looks like the Web Audio API is supported, but it needs the webkit prefix: https://caniuse.com/#search=audiocontext

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

1 participant