Audio problems using Chrome in Mac

Hi, I have a game published using cocos2d-html5 called Shuriken Attack.
The game runs fine on Chrome inside Windows, but Google Chrome in mac have problems.
It shows me the error:

Uncaught Error: InvalidStateError: DOM Exception 11 

This happens because of the method stopMusic from cc.AudioEngine.

Other problem is that music don`t play inside Mac Google chrome.

The Chrome version for windows works perfectly.

Any idea of how to correct that?

Could you please tell me what is your engine version?

Is it a stable version or you pull them from github?

I use Cocos2d-html5-v2.1.1 version, if I remember well, I download it from the main site of cocos2d-x when it’s released, but I’m not sure of that.
I see another important thing, in Google Chrome Mac Browser the sound don’t play, and iOS mobile Safari browser, the same thing is happen, when the stopMusic method will be run, the game crash.
Another strange thing is on android browser the audio not work, but the game don’t crash when the stopMusic is called.
Only windows IE9 and Google Chrome Browser can play the files.
I use wav and mp3 files, no one can be played by browsers mobile browsers.

Hi, I have the same problem. Did you find a solution?

No, for the moment I stop develop using cocos2d-html5, I only work now with cocos2d-x for android and ios.
In the future I will try to continue the development using cocos2d-html5.

The audio flies should be preloaded before you play or stop.

It looks like you forget to preload them.