Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Firefox crashes

  • 2 risposte
  • 4 hanno questo problema
  • 23 visualizzazioni
  • Ultima risposta di 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!!!

Soluzione scelta

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.

Leggere questa risposta nel contesto 👍 1

Tutte le risposte (2)

more options

Soluzione scelta

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.

Modificato da cor-el il