Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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 により に変更されました