Qbasicnews.com

Full Version: html
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having a problem making music work in FF, and I have tried various methods and the only one that worked only works on IE.  I would like to embed a song (its for a project this isn't a legit website) hide the player, have it start up automatically, and loop.  If anyone knows a method it would be very much appreciated.  Oh and the code that worked is.

<object width="199" height="59">
<param name="src"
value="fginc.mp3">
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="bgcolor" value="#333333">
<embed TYPE="application/x-mlayer2"
src="fginc.mp3" autostart="true"
loop="false" width="199" height="59" controller="true" hidden="true"
bgcolor="#333333"></embed>
</object>

so if anyone knows another method please tell me I really want this to work in FF.
Try using the embed tag instead of the object tag. According to Sun Microsystems, Mozilla-based browsers aren't too keen to the object tag but like the embed tag, and vice versa for IE.
Are you sure you don't just have the advanced option turned on in FF to disallow music on websites?
(11-24-2008, 07:24 AM)Eponasoft link Wrote:Try using the embed tag instead of the object tag. According to Sun Microsystems, Mozilla-based browsers aren't too keen to the object tag but like the embed tag, and vice versa for IE.

I actually started with the embed tag.

As for the overall question. I just went lazy and auto played a youtube video and hid the video.