![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
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.
선택된 해결법
Yeah I've just noticed. Firefox plays mp3 files instead of downloading, so it may be an issue with the page. Thanks.
문맥에 따라 이 답변을 읽어주세요 👍 0모든 댓글 (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>
선택된 해결법
Yeah I've just noticed. Firefox plays mp3 files instead of downloading, so it may be an issue with the page. Thanks.