Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-14-2006, 07:42 PM #1
- Join Date
- Nov 2005
- Thanked 0 Times in 0 Posts
How do I play a sound clip at a specific level?
I have added sound to my web pages before but, now I would like to add it with the volume set at a low level. I would like the music in the background.
I would also like to give more control over the music: on, off, up, down, ...
In the past I have used this:
if (navigator.userAgent.indexOf('MSIE') != -1 || navigator.userAgent.indexOf('Opera') != -1)
document.writeln('<embed src="sounds/tender.mid" autostart=true width=0 height=0>');
Thank you in advance.