搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox don't download *.webm and *.mp3 files by default

  • 3 回覆
  • 13 有這個問題
  • 158 次檢視
  • 最近回覆由 cor-el

more options

How to force firefox to save mp3/webm files instead of playing them? Changing preferences in "settings">"applications" for audio/(x-)mpeg(3) did not make any effect.

How to force firefox to save mp3/webm files instead of playing them? Changing preferences in "settings">"applications" for audio/(x-)mpeg(3) did not make any effect.

被選擇的解決方法

hello, firefox 21 & upwards now makes use of the codecs that are included in your OS that enable it to directly play mp3 & mpeg files (also for html5 videos). in order to disable that, enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named media.windows-media-foundation.enabled. double-click it and change its value to false.

Note: The above preference only applies to Windows Vista and higher. Windows Media Foundation isn't available on Windows XP. Starting in Firefox 26, MP3 content on Windows XP will open in the browser with the built-in player using DirectShow; the related preference is media.directshow.enabled (bug 861693). Ref: http://kb.mozillazine.org/File_types_and_download_actions#Built-in_support_for_certain_media AliceWyman

another way to download the files without tweaking the preference mentioned above would be to right-click the link that leads to a mp3 file or right-click the player in firefox and choose to download the file like that...

edit: for webm you can set media.webm.enabled to false in about:config

從原來的回覆中察看解決方案 👍 10

所有回覆 (3)

more options

選擇的解決方法

hello, firefox 21 & upwards now makes use of the codecs that are included in your OS that enable it to directly play mp3 & mpeg files (also for html5 videos). in order to disable that, enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named media.windows-media-foundation.enabled. double-click it and change its value to false.

Note: The above preference only applies to Windows Vista and higher. Windows Media Foundation isn't available on Windows XP. Starting in Firefox 26, MP3 content on Windows XP will open in the browser with the built-in player using DirectShow; the related preference is media.directshow.enabled (bug 861693). Ref: http://kb.mozillazine.org/File_types_and_download_actions#Built-in_support_for_certain_media AliceWyman

another way to download the files without tweaking the preference mentioned above would be to right-click the link that leads to a mp3 file or right-click the player in firefox and choose to download the file like that...

edit: for webm you can set media.webm.enabled to false in about:config

由 AliceWyman 於 修改

more options

It's great that there is a "backdoor" per se to disable this behavior, but I thought that was why there are a ton of file types in the tools/options/applications window to configure? I spent quite a bit of time going through the entire list tweaking the settings of what to play, what to download, and what to ask, only to find out that NONE of them made a difference!

I do very much appreciate that FIrefox is so configurable, but I just wish it wasn't so difficult to figure how to tweak things!

more options

You should be able to save media files played by the built-in HTML5 media player via the right-click context menu (Save Audio As).