Firefox crashes
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.
संदर्भ में यह जवाब पढ़ें 👍 1All Replies (2)
चयनित समाधान
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 द्वारा
Solved