My code works for web audio, but now I want to test HTML5 audio
AudioManager.createBuffer = function(folder, name) { var ext = this.audioFileExt(); var url = this._path + folder + '/' + encodeURIComponent(name) + ext; if (true){ // if (this.shouldUseHtml5Audio() && folder === 'bgm') { Html5Audio.setup(url); return Html5Audio; } else { return new WebAudio(url); }};So I force it to use HTML5 audio.However, when I start the game, it just stays at the loading screen forever. Nothing happens, no console messages. No network traffic...
I tried loading it up in firefox, but it's the same thing. Except the loading screen image flickers.
How do I test for HTML5 audio?
AudioManager.createBuffer = function(folder, name) { var ext = this.audioFileExt(); var url = this._path + folder + '/' + encodeURIComponent(name) + ext; if (true){ // if (this.shouldUseHtml5Audio() && folder === 'bgm') { Html5Audio.setup(url); return Html5Audio; } else { return new WebAudio(url); }};So I force it to use HTML5 audio.However, when I start the game, it just stays at the loading screen forever. Nothing happens, no console messages. No network traffic...
I tried loading it up in firefox, but it's the same thing. Except the loading screen image flickers.
How do I test for HTML5 audio?