Image
Interordi Menu
Zero EXE
Infected Data
Inactive
944 posts
Quote

Look, can any of you give me an easy html code to play midis. I want a code to set it up so it does not automatically start, and has on and off buttons. It\'s for my site. I want the codes like that so it\'s easier for visitors to control them if they don\'t like the music.

Thanks in advance!


Image Do I look like I'm joking?
I didn't want to have to do this, but.....
Image
Read Me!

Random Guy: Who are you? What planet are you from? Who is your leader?
Me: Dude, it's Toast...
Random Guy: Oh...Hello, Toast! Take me to your leader!

Quote of the Week... "Butter Toast! Hello Chicken!"

Quote of the Month... "D.A.R.E. Drugs Are Really Exciting"

Nasuke
Lead character
Inactive
149 posts
Quote
Sage
All Business.
Offline
1762 posts
Quote

Here ya go Zero...

Here\'s the code you would use to have your music play once:


<EMBED SRC=\"music.mid\" AUTOSTART=TRUE HIDDEN=TRUE> <NOEMBED> <BGSOUND SRC=\"music.mid\"> </NOEMBED>

Note: Replace \"music.mid\" with the actual file name you have.

Here\'s the code for enabling your background music to play in a continuous loop. This means that the music plays until your visitor either clicks on the \"Stop\" button on the browser or they go to another page:


<EMBED SRC=\"music.mid\" AUTOSTART=\"TRUE\" HIDDEN=\"TRUE\" LOOP=\"TRUE\"> <NOEMBED> <BGSOUND SRC=\"music.mid\" LOOP=\"INFINITE\"> </NOEMBED>


Fight, Megaman! For everlasting peace! ~ :o

Zero EXE
Infected Data
Inactive
944 posts
Quote

So, the name of the file, or the name of the url the file is. Would it- I dunno. It\'s confusing....

Sage
All Business.
Offline
1762 posts
Quote

Replace music.mid with......http:///yournamehere.hostname.com/music file or subfolder and if you have it in a sub folder you do

http://yournamehere.hostnamehere.com/subfolder/music file.

[Edited on 6/13/04 by Sage Cryst]


Fight, Megaman! For everlasting peace! ~ :o

BladeMan.EXE
Just A-Lurkin' Now
Inactive
1624 posts
Quote

I know a site you could check out. It\'s http://www.funky-chickens.com It has a weird name, but it has a lot of HTML codes. But sometimes it just seems to disappear for a week or two.


The Future of the Net Sprite Comic

My deviantART

~Dwarven Vow #4~
Don't depend on others. Walk on your own two feet.
^ Apply the above to video game help unless you have no other choice.

"94% of all teenagers have tried drugs at one time or another. If you are one of the 6% that haven't, put this message in your signature."

Zero EXE
Infected Data
Inactive
944 posts
Quote

Thank, Sage. I got it. Now every page on my site has some music to play. Heh, I like. This can be closed if highly desired, for this topic is now usless.

Have a Nice Day!:P


Image Do I look like I'm joking?
I didn't want to have to do this, but.....
Image
Read Me!

Random Guy: Who are you? What planet are you from? Who is your leader?
Me: Dude, it's Toast...
Random Guy: Oh...Hello, Toast! Take me to your leader!

Quote of the Week... "Butter Toast! Hello Chicken!"

Quote of the Month... "D.A.R.E. Drugs Are Really Exciting"

SuperGoku4
Don't worry, I'm not dead!
Inactive
394 posts
Quote

This is slightly off topic, but there should be a part of the board for Web help.


ProtoStar
Contributor
Lost Warrior
Inactive
434 posts
Quote

Quote:
Originally posted by SuperGoku4
This is slightly off topic, but there should be a part of the board for Web help.

|Off topic|
Not really... people rarely ask html questions here, so there\'s really no point on making a whole board for it.

|On Topic|
Oh, SG4, you don\'t always have to use html to put some music on your site. You can also download Flash MX and make a small music player with a list if you wanted to.

SuperGoku4
Don't worry, I'm not dead!
Inactive
394 posts
Quote

Well I always use HTML