View Full Version : Adding Audio

07-23-2009, 01:25 AM
I know how to add a music file to a single page:

<embed src="album.mp3" autostart="true" loop="true"
width="2" height="0">

Is there any way I can add background music to a site and regardless which page you click on, the music runs continuously?

07-23-2009, 01:48 AM
Once you go to a different page, everything reloads. So you would need the music to pop-up on a seperate tinly little popup window, or use AJAX or Frames.

I strongly recommend against all cases. Visitors hate music that they cannot control, and is one of the top 10 things not to do on a website.

07-23-2009, 01:52 AM

Thanks for posting that, that's exactly what I've tried explaining to my client. Now I'll copy and paste your post and email to him to see.


07-25-2009, 08:57 PM
Yes I agree I can think of very few circumstances when audio adds anything but there are some.