<<< Home << Web < Music Top Bottom < Prev Next >

Music Tutorial

EMBED Example

This page demonstrates the embed tag. It does not contain any bgsound tags.

As a reminder, here's the consoles that I've worked with. If your console isn't one of these, you're using a midi plugin that I haven't tried.

LiveAudio LiveAudio

Crescendo Crescendo

MidPlug MidPlug

IE4 IE 4

Embed With Autostart

If your browser recognizes embed, you will hear the music and your console will be here:

<embed src="Dixie.mid" autostart="true"
       width="200" height="60" />
  

I've allowed a 200x60 area for the console. Your console won't fit exactly in this area, but this area is large enough for all the consoles I've come across.

Embed Without Autostart

If your browser recognizes embed, there will be a second console here:

<embed src="Im17ComeSunday.mid" autostart="false"
       width="200" height="60" />
  

With some setups, you can change songs by just starting the second console - the first one will turn off by itself. With other setups, you have to stop the first one before you can start the second. Try it to see which way your system behaves.

Because an embed is treated as part of the page, both of these songs have been downloaded - even if you never play the second song you have to wait while it downloads. embed is not a good method to use if you want to offer a variety of selections.


<<< Home << Web < Music Top Bottom < Prev Next >

The next page shows an example of a <bgsound> tag that is not included between <noembed> tags. If you're using IE, you will hear the music (it will autostart). If you're using NN, you won't hear any music.