safaricrash.jpg (84.7 KB)
AFIK the way to handle audio in cocos2d-html5 is via the audio engine
var audioEngine = cc.AudioEngine.getInstance();
Thanks, but this error occurs in samples of Cocos2d-HTML5: Crystal Craze - game and MoonWarriors - game
New Audio() is called in the CocosDenshion SimpleAudioEngine.js and the Audio object is defined for Mozilla in https://wiki.mozilla.org/Audio\_Data\_API
What browser are you using?