background audio keeps playing even interstitial video ad is playing #2011
Unanswered
meehjeevan
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I'm sorry are you saying this is bug, I have not worked with adverts yet, I thought you would have to detect them and pause what you are playing ?. |
Beta Was this translation helpful? Give feedback.
2 replies
-
You'll need to add your own management code for that. The simple audio engine (cocosdension) was removed in Cocos2d-x v4, so it's not something that was removed in Axmol; it just wasn't there to begin with. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm playing a background music with this:
AudioManager::getInstance()->playBackgroundMusic("bgmusic.mp3");
but it keeps playing even an interstitial video ad is playing..
in my old version with cocosdension this issue wasn't occurring but now it's deprecated.
Beta Was this translation helpful? Give feedback.
All reactions