1. Before you put an audio
file onto your website, consider download time, quality, and your server's
capabilities.
2. Find a music or sound file
that you'd like to use. MP3 is a good sound format to use because these
files are smaller and load quickly.
3. If you have a .Wav file
you can convert it into Mp3 file using FlexiMusic Wave Editor. See
details.
4. Next, upload (save) this
music file to your web server either using your FTP program or your web
host's file management control panel. Note: Keep the song file in the
same folder of your webpage.
5. Now edit the web page you
want the song to load with. You'll have to insert the following HTML code
into your page.
<embed src="songname.mp3" controls=all autostart="true" loop="true"
width="300" height="120">
Copy the Source Code Here
Note: The
autostart attribute tells the song file how to begin. If you have this
set to "true", the song file will begin playing automatically when the page
loads. If you set to "false", the sound file will not start automatically
and the visitor will have to start the song by pressing play button.
The loop attribute
tells the song how many times to play. If you have this set to "true" it will play over and over again automatically. If you have it set to
"false" it will play once and stop.