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

搜索 | 用户支持

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

详细了解

Firefox crashes

  • 2 个回答
  • 4 人有此问题
  • 23 次查看
  • 最后回复者为 dapster

more options

I cannot play an mp3 file as background musci in FF 12. The mp3 file plays in both Chrome and IE 7. I keep getting an error: The QuickTime plugin has crashed. I would like to be able to run the site: http://www.patsyclinetributeshow.com in all browsers without having the user made to download any plugin. It would be great if FF would play the mp3 background music with Windows Media Player automatically as all PC users have that player installed.

Thank you for any assistance in advance!!!

I cannot play an mp3 file as background musci in FF 12. The mp3 file plays in both Chrome and IE 7. I keep getting an error: The QuickTime plugin has crashed. I would like to be able to run the site: http://www.patsyclinetributeshow.com in all browsers without having the user made to download '''''any''''' plugin. It would be great if FF would play the mp3 background music with Windows Media Player automatically as all PC users have that player installed. Thank you for any assistance in advance!!!

被采纳的解决方案

You can force Firefox to use the Windows Media Player plugin by specifying a type that WMP supports: type="application/x-mplayer2"

<object>
 <param name="autostart" value="true">
 <param name="src" value="/audio/home.mp3">
 <param name="autoplay" value="true">
 <embed src="/audio/home.mp3" autostart="1" type="application/x-mplayer2" height="0" width="0" />
 </object>

Note that not all visitors will appreciate that music starts playing automatically without a way to stop playing that music, so I would advice to either have the player visible (height="45" width="300") or add a button to mute the sound.

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

You can force Firefox to use the Windows Media Player plugin by specifying a type that WMP supports: type="application/x-mplayer2"

<object>
 <param name="autostart" value="true">
 <param name="src" value="/audio/home.mp3">
 <param name="autoplay" value="true">
 <embed src="/audio/home.mp3" autostart="1" type="application/x-mplayer2" height="0" width="0" />
 </object>

Note that not all visitors will appreciate that music starts playing automatically without a way to stop playing that music, so I would advice to either have the player visible (height="45" width="300") or add a button to mute the sound.

由cor-el于修改