Loop Music

[Total: 0    Average: 0/5]

This allows music to be played in the background of the page over and over.

Body Code:

This example will not really run as there is no music file that is supplied to run on this server.
If you download the source and set the bgsounc's src to your sound file it will work, and play forever.
<script language = "javascript">
<!--

//sound=bg;
//set function bgsound=.mp3,.mpg,.mpeg;
//if == null () set item = "";
//}/

// -->
</script>

<bgsound src="/data/file.mp3" loop=infinite>
</bgsound>
<!-- Change source above -->

Times Viewed: 9

Leave a Reply

Your email address will not be published. Required fields are marked *