2 ms·
> Could you check the console, and tell me if there's some kind of error message? The error message → “ReferenceError: Can't find variable: AudioContext” You
by guessmyname 6y ago
> Could you check the console, and tell me if there's some kind of error message?
The error message → “ReferenceError: Can't find variable: AudioContext”
You can’t do this in some browsers → “c = new AudioContext” [1]
You need to wrap this API in a condition like so [2]
[1] https://caniuse.com/#search=AudioContext https://caniuse.com/#search=AudioContext
[2] https://stackoverflow.com/a/29373891 https://stackoverflow.com/a/29373891
- amadeuspagel 6y agoThanks, I implemented your suggestion. Hope it works now.