cocos2d / cocos2d-html5

Cocos2d for Web Browsers. Built using JavaScript.
https://www.cocos.com
3.07k stars 902 forks source link

Sound is failing (at least on Mac) #664

Closed vlidholt closed 11 years ago

vlidholt commented 11 years ago

CocosDenshion test: Click the play sound effect multiple times, it will play the sounds the first couple of times, then fail. Sometimes it starts working again. Sound effects are not working in Firefox at all.

vlidholt commented 11 years ago

I think that the issue can be that the sounds are not cached and are loaded from the web server every time.

linshun commented 11 years ago

It has been fixed. Thanks for reporting the bug.

https://github.com/cocos2d/cocos2d-html5/pull/669