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

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox will not play SermonConnect mp3 files that were uploaded to Amazon S3 server using the S3 Organizer tool after Jan.7 2014. Previously uploaded files OK.

more options

Files uploaded to the Amazon S3 server are accessed through our website at littlecountrychurch.org. Any media files uploaded prior to Jan. 7, 2014, play properly on our media page. Files uploaded after Jan. 7 refuse to play on the Firefox browser. To add confusion, other browsers- Chrome, Safari, Internet Explorer on Windows and Macs- play these files properly. Also, an older version of Firefox on an XP laptop plays the files properly. We even ran a test by downloading a working file from the S3 server, re-uploaded the file, and Firefox wouldn't play the freshly uploaded file, though it continued to play the same previously uploaded file with no problem.

Files uploaded to the Amazon S3 server are accessed through our website at littlecountrychurch.org. Any media files uploaded prior to Jan. 7, 2014, play properly on our media page. Files uploaded after Jan. 7 refuse to play on the Firefox browser. To add confusion, other browsers- Chrome, Safari, Internet Explorer on Windows and Macs- play these files properly. Also, an older version of Firefox on an XP laptop plays the files properly. We even ran a test by downloading a working file from the S3 server, re-uploaded the file, and Firefox wouldn't play the freshly uploaded file, though it continued to play the same previously uploaded file with no problem.

被選擇的解決方法

The problem is the content-type header being sent from S3. The old MP3s are designated "audio/mpeg", which is perfect. The new ones are designated "application/download" which does not work in Firefox's native HTML5 audio player. (The inset in the screen shots is pasted from a screen shot of the Fiddler proxy.)

On a normal web server, all .mp3 files served from the same folder typically have the same content-type. Something seems to be different about Amazon's storage, perhaps based on some difference in their environment "under the covers."

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

所有回覆 (7)

more options

選擇的解決方法

The problem is the content-type header being sent from S3. The old MP3s are designated "audio/mpeg", which is perfect. The new ones are designated "application/download" which does not work in Firefox's native HTML5 audio player. (The inset in the screen shots is pasted from a screen shot of the Fiddler proxy.)

On a normal web server, all .mp3 files served from the same folder typically have the same content-type. Something seems to be different about Amazon's storage, perhaps based on some difference in their environment "under the covers."

more options

Do you see the media player at all or just an empty bar?

On Mac there is current no support for playing MP3 files with the built-in HTML5 medias player like is available on other Windows an Linux platforms.

Is Firefox using the embed tag with a Flash player?


Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • Hold down the Shift key and left-click the Reload button
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Command + Shift + R" (Mac)

Clear the cache and cookies only from websites that cause problems.

"Clear the Cache":

  • Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Firefox > Preferences > Privacy > Cookies: "Show Cookies"
more options

Researching this issue further, S3Fox usually assigns the correct (standard) content-type automatically, so I'm not sure why this is happening unless the file is being uploaded with some strange file extension and then being renamed to .mp3.

more options

Thanks, this gave me enough info to solve the problem! I found where in the S3 Management Console in AWS to change the content type - under the Properties/Meta Data for the specific files. Changed them to audio/mpeg. Also found in the S3 Fox Organizer where we could upload files correctly - the pull-down next to the upload button offers a choice of Upload/Set custom headers where the content type can be set. I appreciate your help!

more options

It was working until about January 7th - the default was the correct audio/mpeg content type. However, it started setting our mp3 files to application/download instead, hence the mix of content types on the web page. We will now use the Set Custom Headers option for uploads in S3 Fox Organizer. Thank you.

more options

Thank you - we tried this but it didn't solve the problem. See reply to jscher200 for solution. Thanks

more options

Glad you found that setting, and I don't know why it would have changed recently. If you had to use the Firefox reset feature for other reasons and then reinstalled S3Fox, that might explain it because the old "custom" settings for your extensions also do not survive a reset.