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!

搜尋 Mozilla 技術支援網站

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

了解更多

On two different pages of the same site, Firefox can play mp3 files on page but gets error message on the other

more options

On our web site we have a page that includes mp3 files, which play okay on Firefox; but on another page on the site with mp3 files, Firefox (including different versions on different computers) produces the error message, No video with supported format and MIME type found." FWIW, other browsers like Safari (Mac), Chrome (Mac and Win), and Edge (Win) all play the problematic files without a hitch.

Is there a fix for this problem that can be attempted by the non-tech types?

On our web site we have a page that includes mp3 files, which play okay on Firefox; but on another page on the site with mp3 files, Firefox (including different versions on different computers) produces the error message, No video with supported format and MIME type found." FWIW, other browsers like Safari (Mac), Chrome (Mac and Win), and Edge (Win) all play the problematic files without a hitch. Is there a fix for this problem that can be attempted by the non-tech types?

所有回覆 (7)

more options

Hmm, either the files are different -- for example, different compression CODEC -- or perhaps the way they are identified/served is confusing Firefox as to what they actually.

So if you don't mind a little nerdy look under the covers...

You can use the Web Console and Network Monitor in the Developer Tools to gather more information. To open the console, use Command+Alt/Option+K. This should show any error messages or warnings gathered since the tab was opened, but just to be sure, reload the page bypassing the cache (Command+Shift+R). Then try playing the media and see whether any more detailed error information is available there. Also, switch over to the Network mini-tab and look for the media there. You can click the row for the MP3 to see additional information about failure to load, and to check the Response Headers, which typically specify to Firefox what kind of media it is.

Let us know what you see.

有幫助嗎?

more options

Much appreciate your thoughtful, detailed response. Sad to say, it's too far over my tech-head capabilities. In my old age, learning comes very slowly, especially in fields where I'm unfamiliar with the basics.

I will save your directions and if I can get some help from someone hereabouts, maybe take a crack at it.

For the time being, I'm just going to add at the top of the page a "We apologize for technical difficulties: Firefox browsers do not play the music files on this page" (or something like that, with a little humor). All other browsers will play them.

有幫助嗎?

more options

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?

有幫助嗎?

more options

有幫助嗎?

more options

Hmm, for some reason Firefox wants to play the file using a VIDEO tag and that fails. Forcing an audio tag works.

data:text/html,<audio src="https://www.gatherthepeople.org/resources/Media/GTP_02_Ma_Tovu.mp3" controls>

有幫助嗎?

more options

They play fine for me in my regular profile, but not in a new profile. It seems that the requests are the same, and in both cases the server says the content size is 8470593, but the number of bytes delivered in the first response is a bit different. In my regular profile, Firefox requests the rest of the file while in the new profile, it doesn't, it just seems to stop.

I can't find a relevant different in media settings between the two, so maybe it is something related to network settings (or add-ons). ??

有幫助嗎?

more options

I noticed when I right-click a media link and choose Save Link As, Firefox surprises me with a different file extension. For example:

GTP_01_L'shem_Likhud.m4a

That seems like it might be a clue, but I still don't know why Firefox behaves properly in the old profile and not the test profile.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題