Skip to content

Fallback for Web Audio on Firefox #7083

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

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

raaaahman
Copy link
Contributor

This PR:

  • Fixes a bug

Describe the changes below:

Firefox doesn't implement the positionX, positionY and positionZ properties on the AudioListener instances at the moment. This prevents the follow feature from WebAudioSound to operate on Firefox. This PR aims to solve that issue.

@photonstorm
Copy link
Collaborator

Happy to merge this but please change the branch to master.

@raaaahman raaaahman force-pushed the fix/web-audio-firefox-safari branch from 3b190bc to 08ee5b5 Compare March 24, 2025 09:38
@raaaahman raaaahman changed the base branch from v4.0.0 to master March 24, 2025 09:38
@raaaahman
Copy link
Contributor Author

Alright, done.

@zekeatchan zekeatchan merged commit 1fa02c0 into phaserjs:master Apr 2, 2025
@zekeatchan
Copy link
Collaborator

Hi @raaaahman. Thanks for the PR. We have merged it with the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.

@raaaahman
Copy link
Contributor Author

I deployed a game with the fix: https://phaser-webaudio-test.pages.dev/, it works on my browser (Mozilla Firefox snap for Ubuntu 136.0.3).

@raaaahman raaaahman deleted the fix/web-audio-firefox-safari branch May 28, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants