Qbasicnews.com
December 03, 2021, 02:03:44 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: html  (Read 4606 times)
Tia
Member
*
Posts: 37


« on: November 23, 2008, 08:36:59 PM »

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.
Logged
Eponasoft
New Member

Posts: 16



« Reply #1 on: November 23, 2008, 11:24:27 PM »

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.
Logged
Ninkazu
Been there, done that
*****
Posts: 1169



WWW
« Reply #2 on: November 24, 2008, 01:28:48 AM »

Are you sure you don't just have the advanced option turned on in FF to disallow music on websites?
Logged

am an asshole. Get used to it.
Tia
Member
*
Posts: 37


« Reply #3 on: December 08, 2008, 02:46:08 PM »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!