Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Firefox crashes

  • 2 réponses
  • 4 ont ce problème
  • 23 vues
  • Dernière réponse par 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!!!

Solution choisie

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.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (2)

more options

Solution choisie

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.

Modifié le par cor-el