Firefox download audio files instead of playing unlike other browsers?
In my experience with the TF2 Wiki page, clicking an audio file link would open a new tab where I can play the file. Since I've moved to firefox, I can no longer do this. Instead, the file downloads. Is there a way to change this? I saw in another post that you have to change the flag media.play-stand-alone to true but it was already true.
Ausgewählte Lösung
Yeah I've just noticed. Firefox plays mp3 files instead of downloading, so it may be an issue with the page. Thanks.
Diese Antwort im Kontext lesen 👍 0Alle Antworten (4)
How does the server send this file (content type)?
- https://firefox-source-docs.mozilla.org/devtools-user/network_monitor/
- https://firefox-source-docs.mozilla.org/devtools-user/web_console/
Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?
https://wiki.teamfortress.com/wiki/Audio_cues This page is full of audio files. The syntax of one audio is https://wiki.teamfortress.com/w/images/0/08/Coach_attack_here.wav
I don't know why Firefox wants to download this file send as audio/x-wav as it plays fine if I use a data audio URI, it doesn't even show an "Open with" dialog.
- data:text/html,<audio src="https://wiki.teamfortress.com/w/images/0/08/Coach_attack_here.wav" controls>
Ausgewählte Lösung
Yeah I've just noticed. Firefox plays mp3 files instead of downloading, so it may be an issue with the page. Thanks.