Skip to content
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

No audio when using Mozilla Firefox #240

Open
UrkiMimi opened this issue Oct 2, 2023 · 5 comments
Open

No audio when using Mozilla Firefox #240

UrkiMimi opened this issue Oct 2, 2023 · 5 comments

Comments

@UrkiMimi
Copy link

UrkiMimi commented Oct 2, 2023

I noticed that the audio is absent in Firefox when using any of the emulated machines. Chromium and Safari both work fine for me but Firefox straight up won't play any audio when it should. Ex. System alert sound, Platinum Sounds in Mac OS 9, etc

@that-ben
Copy link

that-ben commented Oct 2, 2023

When the emulator is starting up, try to click a couple times in the canvas (where the graphics are drawn). I remember this happening a couples time to me too. It's kind of random. Try to reboot your computer, launch Firefox and try again, see if the audio comes back. It always ends up coming back for me, but I agree that sometimes it just stops playing audio for no reason (tab is not muted and audio playback settings are not disabled).

@kutulhu
Copy link

kutulhu commented Apr 30, 2024

Happens to me, too (only in Firefox). It worked the first time, then never again. Tried removing the site cache and some other things but it just doesn't want to work anymore. I wonder if it's something to do with permissions? Though the site never appears to be muted.

@parkerlreed
Copy link

parkerlreed commented May 8, 2024

Firefox blocks auto playing audio without user interaction.

That's why randomly clicking while it's loading sometimes fixes it.

A blanket solution is allowing auto playing audio in settings but then that allows any website to start playing video/audio at will.

image

Infinite Mac could also add a "Start emulator" button that would allow it to function.

@that-ben
Copy link

that-ben commented May 8, 2024

The "start emulator" play button kind of solution is what ARCHIVE.ORG does and a few WebGL games online do that too so that full screen and cursor capture requests work (and audio).

@mihaip
Copy link
Owner

mihaip commented May 9, 2024

At least in Chrome (which has the same requirement for user interaction to allow audio playback), if you go to infinitemac.org and then click "Run" on a machine, sound will work (most easily tested with Mini vMac-based machines, since it plays a startup chime). Firefox doesn't appear to do that, which seems like a limitation or bug on its part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants