I use a code to play background music on my website..
>
The HTML5 solution is the Audio tag http://www.w3schools.com/tags/tag_audio.asp
This is the older solution: http://drayblog.gotdns.com/index.php/2009/05/13/html-embed-an-audio-clip-and-repeat-loop-it/