Hi,
I would like to have a background music loop in my website.
So far I have been able to include music with an play/stop button, but I can not make it loop. I do not know if this is the right direction. Can somebody please help me with the code below or point me to a good tutoria about this?
Thanks

This is the code:

<head>
<bgsound id="PlayMusic">
<script type="text/javascript">
<!--
PlayMusic.src="Beauty_of_Hip_Hop.mp3";
function OnOff() {
if (PlayMusic.src=="")
{
PlayMusic.src="music.mp3";
OnOffButton.value="Stop";
} else {
PlayMusic.src="";
OnOffButton.value="Play";
}
}
// -->
</script>
</head>
<body bgcolor="#000000" scrollamount="0">
<input type="button" name="OnOffButton" value="Stop" onClick="OnOff()">
</body>
</html>