Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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