html - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: General (http://qbasicnews.com/newforum/forum-6.html) +--- Forum: General/Misc (http://qbasicnews.com/newforum/forum-18.html) +--- Thread: html (/thread-10187.html) |
html - Tia - 11-24-2008 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. Re: html - Eponasoft - 11-24-2008 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. Re: html - Ninkazu - 11-24-2008 Are you sure you don't just have the advanced option turned on in FF to disallow music on websites? Re: html - Tia - 12-08-2008 (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. |