How can I force HTML5 audio if the Web audio API is not supported?
I found this, but then I don't know how to change it to HTML5 audio:
I found this, but then I don't know how to change it to HTML5 audio:
Code:
SceneManager.initAudio = function() { var noAudio = Utils.isOptionValid('noaudio'); if (!WebAudio.initialize(noAudio) && !noAudio) { throw new Error('Your browser does not support Web Audio API.'); }};