-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Audio doesn't work in safari? #4217
Comments
|
Hey guys! |
This works fine with 3.16 RC3 in Safari on Mac OS using either Web Audio or the Audio Tag. |
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the |
What commit contains the fix? Is the fix also merged to Phaser CE? |
Version
Phaser Version:
whatever version is used here:
https://labs.phaser.io/view.html?src=src\audio\HTML5%20Audio\AudioSprite.js
Operating system:
macos 10.14.1 (18B75)
safari 12.0.1
Description
On the cat astro phi demo page clicking buttons produces no audio on safari on osx, but works fine on chrome 70.0.3538.110.
Example Test Code
https://labs.phaser.io/view.html?src=src\audio\HTML5%20Audio\AudioSprite.js
Additional Information
This is probably due to how safari handles audiocontexts now ( https://hackernoon.com/unlocking-web-audio-the-smarter-way-8858218c0e09 ), and how chrome will very, very soon ( https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/5Y1BqbGauEs/rRocaytKBgAJ ) .
The text was updated successfully, but these errors were encountered: