Forum Moderators: open

Message Too Old, No Replies

html code to turn music on/off

please help, i really need it

         

wuming

11:07 pm on Jun 18, 2005 (gmt 0)



I've put some music on my 'landing' page (the page before my home page). The file is that of an mp3. The player that i'm using is quicktime player as i think that it's the best. I've hide the player as i don't want it to be seen. The music is on autostart and also on a loop. I want a button to turn on and off the music back and fourth. I also want it to be an html code.

I have this code but it doesn't work:
<form method="get" action="http://URL.mid"><input type="submit" value="Music On/Off" text="blue"></font>

I've tried putting in this code and then clicking the off button but a 'page not fount' page comes up.

Do you have to change the "http://URL.mid" bit and if so what to?

Please help!

JAB Creations

11:51 pm on Jun 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So you want to let visitors hear and control music but not have access to the controls?

The only way (that I know of at least) to do this is to use a flash player.

BlobFisk

10:19 am on Jun 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just to echo what JAB Creations has said. Flash is probably the best way to tackle this - it is certainly the most cross browser compatible approach.