Installing A MIDI or WAV File
<embed src="XXXX.mid"align="center" height="60" width="144" autostart="true"repeat=true loop=true>
It will look like this when you're done: See where it says XXXX.mid? You'll notice it in two places. That's because there are two codes, one for Netscape users and one for I.E users, so that everyone will be able to hear the music. Just replace the XXXX.mid with the name of the MIDI that you want to use and then just copy and paste the entire code above into your webpage where you want the small music box to show up. The only bad thing about this code is that it will sometimes casue the Midi file to keep playing even after the visitor has turned it off.
If you want your visitor to always be able to turn off your music, try this code:
It will look like this:
To install a music wav file, just use the codes above for MIDI, but subtitute the name of your WAV file for the XXXX.mid.
If you want to put a sound on your page that plays only once, a simpler code is needed. The above code will play the MIDI repeatedly: note the "LOOP=INFINITE" and the "repeat=true" "loop=true" settings.
<embed src="XXXX.wav"> This is what your sound box will look like: ![]()
|