-
Notifications
You must be signed in to change notification settings - Fork 4
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
Firefox autoplay policy prevents sound from keyboard input #180
Comments
Ideas from dev meeting:
|
Lets write up a bug report to Mozilla, I will do that. It probably is not wise to write our own code to find a workaround for this (and there likely isn't one). The design team has not indiciated that we need some design indication or solution for this. |
I did some more testing before submitting a bug report. I can no longer reproduce the problem in Windows 10 Firefox 114.0.2 (64 bit) for https://phet-dev.colorado.edu/html/geometric-optics/1.3.0-dev.1/phet/geometric-optics_all_phet.html?screens=1. But @chrisklus helped test on MacOS Firefox 114.0.2 (64 bit) and observed that the problem is still there. So I will still write up a report to them about it. |
A report was submitted through bugzilla, we will see how they respond. Removing my assignment until then. |
From phetsims/quadrilateral#437, it was discovered that Firefox does not start sound from keyboard events. You have to activate a button with a
click
event (or another activating event) first.Maybe some iteration this can be investigated with extra common code work. As suggested in phetsims/quadrilateral#437 (comment), that might include a bug report to Mozilla.
This is related to #179 (same problem, different input/browser).
Another long term solution could be to add a "Start" button to all PhET sims that initializes media.
The text was updated successfully, but these errors were encountered: