Home > other >  Cocos2dJs IOS touch can play music at a time, how to solve this problem?
Cocos2dJs IOS touch can play music at a time, how to solve this problem?

Time:09-23

Cc. AudioEngine. PlayMusic (SRC, loop);

Play background music, this method is fine with android, the browser
But why Ios touch after play, how to make it just coming into the game to play?

CodePudding user response:

Are you sure you're on the right time to call the method?
If the timing is right, this is a web resource? If it is, may be didn't download cache,
If is, I'm sorry, you give too much information and analysis
  • Related