Background music on a web site

chevy

Marvelous Da Vinci
Staff member
Mod
This may sound silly, but I don't know how to implement music as a background for a web site. I wrote a short song in GarageBand and I would to use it as background music on a web page. Who do I do that ?
 
chevy said:
This may sound silly, but I don't know how to implement music as a background for a web site. I wrote a short song in GarageBand and I would to use it as background music on a web page. Who do I do that ?

You can convert it to an MP3 or similar file type and import it into the web program of your choice. Thats it really, It really all depends on what web program you are using. But remember, sound files are big so they will make your file size large.
 
I use direct html for editing. I expected to be able to put the mp3 file somewhere and call it like I call any jpg file.
 
EMBED is what you're looking for Chevy.

<embed src="aaaaa" autostart="bbbbb" loop="ccccc" hidden="ddddd" />

aaaaa = name of music file, like horn.mid or cannon.mp3.

bbbbb = true or false, set to true if you want it to start playing on it's own.

ccccc = a number of times to repeat. You can also use true or false, though there have been some issues with true and some versions of IE. Usually considered better to enter a large number like 99 if you want it to loop infinitely.

ddddd = true or false, decides if the helper app is displayed on the page or not so the user can control it or turn the sound off. Best usually to set this to true.
 
do us all a favor and don't start making your web pages sing. there are few things more annoying that a web site that thinks its music is more important than what i'm listening to.
 
cfleck said:
do us all a favor and don't start making your web pages sing. there are few things more annoying that a web site that thinks its music is more important than what i'm listening to.
Yep... Especially when your up late surfin' when you really ought to be sleeping.

It's a great way to wake up your housemates.


::evil::
 
evil evil evil

I have never read a web page that sang at me - as soon as it starts making noises, the window closes and I don't care if it's my mother's will on there; the lawyer can tell me tomorrow.
 
cfleck said:
do us all a favor and don't start making your web pages sing. there are few things more annoying that a web site that thinks its music is more important than what i'm listening to.

one of the more annoying things is the same site made with flash, without the option to make it quiet. i hate anything that resizes or replaces the browser window or hides bars or tools ...

so just add "listen to my music here" and put the link to where the music is.
 
Back
Top