Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: HTML5 Audio pool exhausted, AudioContext was not allowed to start. Bug when refreshing the browser #98

Open
3 tasks
leithdm opened this issue Dec 7, 2020 · 1 comment
Assignees
Labels
bug Something isn't working future feature

Comments

@leithdm
Copy link
Owner

leithdm commented Dec 7, 2020

This bug was noticed when manually refreshing the game.html window. Audio continues to work fine, but the warning shows up in the console log

@leithdm leithdm added bug Something isn't working future feature labels Dec 7, 2020
@leithdm leithdm self-assigned this Dec 7, 2020
@rchaban
Copy link

rchaban commented Dec 9, 2020

I got the same warnings after refresh page. I have event listener song.once('unlock', callback) and when I make click anywhere I trigger event unlock and there (in callback function I can invoke play() again). And this 'click' should be from user. when you try to do 'document.body.click()' nothing happen. Who knows some solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working future feature
Projects
None yet
Development

No branches or pull requests

2 participants