How To Add Music to Your Pages



I have had many requests for information on how to add music to web pages.

The EMBED tag works with newer versions of Internet explorer (I believe 4.0 and higher) as well as with netscape. However the EMBED tag can be wiggy and "hang up" on some lower numbered versions of browsers. So, it is up to you to decide if you really wanna have music on your site or not. I personally like music to enhance the overall theme and or subject of each page..but that is my personal choice.

Good Luck!


Various Audio EMBED Examples

The results will be different if you MS Internet Explorer or if you have a MIDI plugin.

Here's a brief overview of some of the OPTIONS:
Hidden="TRUE | FALSE":If set to TRUE, no control box will be visible or placed.
Height="XXX" Width="YYY":These allows you to control the dimensions of the control panels if visible.
Loop="TRUE | FALSE":This allows you to loop the song. Set it to FALSE if you only want it to play once.
Volume="XXX"Use the VOLUME option to set the initial playback level of the sound file. You can specify a range from 0 to 100.

AutoStart="TRUE | FALSE" Set AutoStart to TRUE if you want the song to automatically begin playing when it loads. If set to false, the visitor has to hit the playbutton in order to start the song.

(COPY/PASTE THE FOLLOWING CODES TO YOUR NOTEPAD MAKE SURE YOU ADD THE CHARACTER "<" BEFORE THE WORD "EMBED" OR THE CODE WILL NOT WORK AND ALSO REMEMBER TO REPLACE "title.mid" IN THE CODE WITH THE MIDI FILE NAME YOU ARE USING)

And now, the examples... :
Standard Console


<EMBED SRC="title.mid" Hidden="FALSE" AutoStart="FALSE" Volume="75" Loop="FALSE" Height="60" Border="0" Width="145" Controls="TRUE">

Small Console


<EMBED SRC="TITLE.MID" Hidden="FALSE" AutoStart="FALSE" Volume="75" Loop="FALSE" Height="15" Border="0" Width="145" Controls="SmallConsole">

Play Button Only


< EMBED SRC="title.mid" Hidden="FALSE" AutoStart="FALSE" Volume="75" Loop="FALSE" Height="24" Border="0" Width="35" Controls="PlayButton">

The above examples may not work right in Internet Explorer..the following code is supposed to work for both Internet Explorer and Netscape, the NOEMBED and the BGSOUND part of the Tag talks to Internet Explorer.

<EMBED src = "title.mid" autostart=true hidden = true loop= false>
<NOEMBED>
<BGSOUND SRC="sample.wav" LOOP="1">
</NOEMBED></EMBED>




Midi Plugins Midi Plugins
Site Index

Maine Humor/Info
Maine Links
HTML/Webpage Help Linkz
Just Jokes

FUN STUFF!
Business Humor
Parenting Stuff
Domestic Violence
Friends/Peepz
Personal Info/Family
Political Stuff
Political Links
Clinton Humor
Links to More Clinton Humor

Site Joke Index

Back to the Top


Get your own Free Home Page