cocos2d / cocos2d-js

cocos2d-x for JS
http://www.cocos2d-x.org
MIT License
1.86k stars 490 forks source link

In Google Chrome AudioEngine.playmusic "loop = true", doesn't work #1754

Open bheer opened 9 years ago

bheer commented 9 years ago

I'm using Cocos 3.6 and in google chrome the playmusic doesn't loop.

VisualSJ commented 9 years ago

This is very strange. Loop properties seems to be failed in Chrome 42. It should be changed anything shouldn't change caused the loop failure. We tried many ways to test webaudio loop.

Finally had to manually to cycle....

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