We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.