The basics

Discussion in 'Web Sites' started by chrysnharold, Dec 14, 2001.

  1. chrysnharold

    chrysnharold New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    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.
  2. Jurgen

    Jurgen New Member

    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    0
    oh, that sounds fun...
  3. sbouda

    sbouda New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Wow, so simple. Thanks

Share This Page