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
HTML5 audio doesn't work in safari (on latest MacOS) #3309
Comments
With the update merged in I'd love to know what errors you now get @alexandernst |
Note that I was never asked about allowing (or denying) anything. |
It seems like the same is happening on iOS when switching scenes and trying to play audio. The first audio you play works, but the next one will fail (silently) with this error. |
@photonstorm any progress looking into this? |
Nope. I don't have a Mac to test on, so it will need someone else to jump in. Although I'm curious why it's even trying to use HTML5Audio at all, it should be using WebAudio. |
Alright, just removed
from the game config and now audio works just fine on iOS/ Safari on macOS. Cheers! |
I’ll keep this open because old school Audio should still work on Safari, but you absolutely don’t want to use it unless forced to. |
@photonstorm I have a fix for this but can't test it since all HTML5 Audio examples are broken with following error:
|
Yeah :( I fixed it earlier today though, master is safe now. |
This is now fixed and can be tested with this example: http://labs.phaser.io/view.html?src=src\audio\HTML5%20Audio\play%20audio%20from%20child%20scene.js |
For example http://labs.phaser.io/view.html?src=src\audio\HTML5%20Audio\AudioSprite.js
The text was updated successfully, but these errors were encountered: