Background Music

They have: 45 posts

Joined: Mar 2002

does anyone here know the html/php code for background music?

at my forums we have a vb battle, the members can fight eachother, i wanted to give it more depth by adding a battle music to the background while they fight, but i dont know the html code for it.

can someone tell me the html code? (its a music MIDI file which im planning to use)

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

Hi, here's the code you are looking for:

<embed src="http://www.yourdomain.com/path/to/file.mid"
autostart="true" loop="true" hidden="true">
'

Good luck!

Brian

They have: 157 posts

Joined: Mar 2002

That was short and sweet. Couldn't find it on the web, eh? Oh, why don't they look around.

Well, would you look at that. Third link down on Google search for "HTML music code" gives me:

Annabella's HTML Help - Adding Music
... a small music control console, instead of the larger music player. Simply use the
following code: geocities.com/annabella.geo/music.html - 14k - Cached - Similar pages

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Hey, Clint, ease up, yo. Flaming is not necessary.

They have: 157 posts

Joined: Mar 2002

Opps. Wasn't trying to be mean. Sorry. Just thought it would help to know you can get information quickly from a search. Came out wrong I guess.

They have: 45 posts

Joined: Mar 2002

ok thanks

Quote: Just thought it would help to know you can get information quickly from a search. Came out wrong I guess.

yea i did that but i couldn't find anything, i just got tutorials on linking to music files

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.