Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
html
#1
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.
Reply
#2
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.
Reply
#3
Are you sure you don't just have the advanced option turned on in FF to disallow music on websites?
am an asshole. Get used to it.
Reply
#4
(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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)