|
Add musicTo add background music to your site, just use this code.
<bg sound="URL of your midi" autostart="true"
hidden="true" loop="infinite">
sound : the URL of your sound/the address of your midi file (e.g.. http://yoursite.com/sound.wav) autostart : if you want it to start as soon as your page finishes loading. Value : ture. If you want people to press the play, then don't include this in your code. hidden : hide the play window or not, but bg sound is usually hidden loop : if you want the music to loop. Value="any number or inifinite or no or true"
<embed src="URL of your midi" width="200"
height="40" autostart="true" loop="true">
<noembed> <bgsound src="URL of your midi" loop="infinite"> </noembed> The above code is used to display an embed play window. Also, the width and height can be changed to whatever you want, but this is the standard. By the way, the bg sound and music, whatever only works on Internet Explorer, Netscape does not support it, unless you download a plug-in. |