...

View Full Version : How do I play a sound clip at a specific level?



jcperryman
07-14-2006, 06:42 PM
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:
<script>
if (navigator.userAgent.indexOf('MSIE') != -1 || navigator.userAgent.indexOf('Opera') != -1)
document.writeln('<bgsound src="sounds/tender.mid">');
else
document.writeln('<embed src="sounds/tender.mid" autostart=true width=0 height=0>');
</script>

Thank you in advance.
Joseph



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum