PDA

View Full Version : Adding Audio


blimp
07-23-2009, 02: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">
</embed>

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

maartenvr
07-23-2009, 02: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.

blimp
07-23-2009, 02:52 AM
maartenvr,

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.

:mrgreen:

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