If you want to know how the music player was put on the site it was simple
Here is a code which plays your sound:
- Code:
-
<body>
<p>Background Music</p>
<embed src="bgsound.mp3" autostart="true">
</body>
This code simply plays the given .mp3 file as the page is loaded.
However if the file ends the music will stop, so you maybe want to set
to play music in a loop. Of course you can do this by the loop
parameter and as result your code will look like this:
- Code:
-
<embed src="bgsound.mp3" autostart="true" loop="true">
You can also control the size of the browser plugin like this:
- Code:
-
<embed src="bgsound.mp3" autostart="true" width="400" height="20">
It's nice that with this solution the visitor can control the
background music, but it destroys your page design. So you maybe want
to hide the control panel of the browser plugin. In case of