-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Update howler.core.js #679
Conversation
Fix Android cross domain can not auto resume issue
Works for me, would love to see this incorporated |
Hi , Thanks , Ashok |
Can someone explain what this PR is fixing and why |
I got here from #676 after experiencing errors on a limited selection of Android devices with Howler 2.0.3: "BUG: Sounds and music does not work on Android devices" STEPS:
After inspecting the log file I found this message (which lead me to issue 676): According to 676 Howler is becoming stuck in the 'resuming' state, I am not at all sure that removing that state is a good fix though. Hope this helps! |
@goldfire First, here is an example of our workaround in our page:
Now, the context - as @pjbaron noted, there is a scenario in which The problem is that once the state is "locked" in Happy to provide any additional context or explanation that might be helpful - I know this one is a bit confusing without a repro and I also know I may not have explained it perfectly here. Hope this helps! Thanks for an awesome library :) EDIT: as an additional aside, I'll note that none of this should imply that I think removing |
Thanks for the detailed explanation! As I've thought about this more, there's really no use for the |
Update howler.core.js
Fix Android cross domain can not auto resume issue