chrysnharold
12-14-2001, 08:15 AM
When designing web sites that have background music be sure to include a tag that is cross-browser compatible. Meaning it will run on the majority of platforms that computer users have. The simpliest code for doing this can be found below. Just change the http:// address to point to the midi you wish to use.
----------------------------------------------------------------------------------
bgsound src="http://worldzone.net/art/angel1201/Wavs/wavs/Autos/trafficjam.wav" loop = "2"
embed src="http://worldzone.net/art/angel1201/Wavs/wavs/Autos/trafficjam.wav" hidden="TRUE" autostart="TRUE" loop= "FALSE"
-----------------------------------------------------------------------------------
both lines of the code are needed to insure proper playing of your midis. Just include it in the beginning of you body tag and you will be good to go. ALSO note that the looping value can be changed to make the midi play a various (you set the variable) number of times.
----------------------------------------------------------------------------------
bgsound src="http://worldzone.net/art/angel1201/Wavs/wavs/Autos/trafficjam.wav" loop = "2"
embed src="http://worldzone.net/art/angel1201/Wavs/wavs/Autos/trafficjam.wav" hidden="TRUE" autostart="TRUE" loop= "FALSE"
-----------------------------------------------------------------------------------
both lines of the code are needed to insure proper playing of your midis. Just include it in the beginning of you body tag and you will be good to go. ALSO note that the looping value can be changed to make the midi play a various (you set the variable) number of times.