Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

What happened to MP3 support in Firefox 24?

  • 11 回覆
  • 19 有這個問題
  • 2 次檢視
  • 最近回覆由 AliceWyman

more options

Since I installed Firefox 24 on my laptop, I'm not able of playing MP3 files on Firefox through HTML5. I've done an HTML5 test that confirms my browser doesn't support MP3:

http://beta.html5test.com/s/7ae8f31bc64db93f.html

Here it says Firefox started supporting it in version 22 but it's not supported in 24, and that's true for me because I could play MP3 files on version 22 or 23 (I don't remember which), without a problem, but now I can't with 24.

http://html5test.com/compare/feature/audio-mp3.html

Also, according to this:

http://beta.html5test.com/compare/feature/audio-mp3.html

it's supported again in Firefox 26, but I don't want to have to use a nightly build.

The weird thing is a friend of mine says he can play MP3 files fine on Firefox 24.

What can I do?

Since I installed Firefox 24 on my laptop, I'm not able of playing MP3 files on Firefox through HTML5. I've done an HTML5 test that confirms my browser doesn't support MP3: http://beta.html5test.com/s/7ae8f31bc64db93f.html Here it says Firefox started supporting it in version 22 but it's not supported in 24, and that's true for me because I could play MP3 files on version 22 or 23 (I don't remember which), without a problem, but now I can't with 24. http://html5test.com/compare/feature/audio-mp3.html Also, according to this: http://beta.html5test.com/compare/feature/audio-mp3.html it's supported again in Firefox 26, but I don't want to have to use a nightly build. The weird thing is a friend of mine says he can play MP3 files fine on Firefox 24. What can I do?

被選擇的解決方法

I see you posted an earlier question about his problem, on Oct 8, 2013,

You wrote in that thread that direct links to MP3 files such as this mp3 example, also don't work for you in the Firefox built-in player.

You also wrote,

I have a laptop with Windows 7 Home Premium x64, which I had to reinstall recently because of some hard drive problems. I used to be able to play MP3 audio files directly on Firefox, when I clicked a link to a MP3 file a new tab would open and the audio would start playing. But now I get a window asking me whether I want to open it (with Windows Media Player by default), or save it, and I can't play MP3 files with HTML5 <audio> tag, supposedly my browser doesn't support it. 

I'm thinking it might have something to do with the fact that you recently reinstalled Windows 7. Did you also install SP1 and later Windows updates?

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

所有回覆 (11)

more options

Your friend is maybe using an add-on to play MP3. e.g. MP3 player add-on

more options

No, he uses Firefox just because he can't run Chrome properly and he hasn't changed anything or installed any add-on.

more options

Which web pages with MP3 HTML5 coding don't work for you?

MP3 on this HTML5 Audio Formats Test page works for me (Fx24, Win7)

http://hpr.dogphilosophy.net/test/

If the MP3 test on that page doesn't work for you, enter about:config in the Firefox address bar and make sure that the preference
media.windows-media-foundation.enabled is set to "true", which is the default setting.

Ref: http://kb.mozillazine.org/File_types_and_download_actions#Built-in_support_for_certain_media

more options

No pages which use MP3 HTML5 or playing MP3 directly (which is actually the same) work for me.

I had already tried that page and it says it doesn't support MP3.

media.windows-media-foundation.enabled is set to "true".

more options

Are there any error messages in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) about these mp3 files (common CSS errors are not important and can be ignored)?

Does Firefox retrieve the MP3 file?

You can use the Network tab in the Web Console or this extension.

由 cor-el 於 修改

more options

In the page AliceWyman posted, if I click the try button, this appears in the Web Console:

[11:25:45.759] GET http://hpr.dogphilosophy.net/test/mp3.mp3 [HTTP/1.1 206 Partial Content]

[11:25:46.818] HTTP "Content-Type" of "audio/mpeg" is not supported. Load of media resource http://hpr.dogphilosophy.net/test/mp3.mp3 failed.

In the Network tab I get:

  • Green circle, if I move the mouse pointer over it it says "206 partial content".
  • Method: GET
  • File: mp3.mp3
  • Domain: hpr.dogphilosophy.net
  • Type: mpeg
  • Size: 0 KB

由 DaRk_St0rM 於 修改

more options

選擇的解決方法

I see you posted an earlier question about his problem, on Oct 8, 2013,

You wrote in that thread that direct links to MP3 files such as this mp3 example, also don't work for you in the Firefox built-in player.

You also wrote,

I have a laptop with Windows 7 Home Premium x64, which I had to reinstall recently because of some hard drive problems. I used to be able to play MP3 audio files directly on Firefox, when I clicked a link to a MP3 file a new tab would open and the audio would start playing. But now I get a window asking me whether I want to open it (with Windows Media Player by default), or save it, and I can't play MP3 files with HTML5 <audio> tag, supposedly my browser doesn't support it. 

I'm thinking it might have something to do with the fact that you recently reinstalled Windows 7. Did you also install SP1 and later Windows updates?

more options

Yes Firefox uses your system's codecs to play media files, so your system needs to be somewhat updated.

more options

Yes I asked that question some days ago but I thought I'd better rewrite it to see if I could get any more help.

I think I had SP1 installed, though I can't remember it. I'll try installing it now to see if it works.

more options

@AliceWyman :

I installed Service Pack 1 and now it works like a charm.

Thank you very much!

more options

Hey, that's great! You're welcome!

Thanks for posting back with the outcome.