Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

What happened to MP3 support in Firefox 24?

  • 11 trả lời
  • 19 gặp vấn đề này
  • 2 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Giải pháp được chọn

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?

Đọc câu trả lời này trong ngữ cảnh 👍 3

Tất cả các câu trả lời (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.

Được chỉnh sửa bởi cor-el vào

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

Được chỉnh sửa bởi DaRk_St0rM vào

more options

Giải pháp được chọn

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.