Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BGSOUND VOLUME PROBLEM

Status
Not open for further replies.

arthurbr

Technical User
Nov 6, 2003
231
BE
I am using the following tags:
<BGSOUND src="Rapsat.mp3"loop="infinite">
and I would like to do something about the volume.
I added the volume attribute but the volume did not change ( I tried values between-10.000 and 0 but no change)
How can I achieve this, and what is the correct syntax when you have many attributes?
Many thx
 
There are only three attributes that are available - and setting the volume is not one of them! You can set the following:
[ul][li]src - the source of the sound file[/li]
[li]loop - how many times the sound file will loop[/li]
[li]autostart - whether the sound will play automatically or not[/li][/ul]
You can put them in any order within the <BGSOUND> tag.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
It's an IE only tag that never got adopted... and whilst there is support for it in all the IE builds I have access to, it appears that the documentation (even that at Microsoft) is not complete.

I looked at google results for this tag and drew my conclusions from there. I missed the Microsoft documentation and could have checked what they had to say before replying.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Thank you Jeff, I'll have to do without controlling the volume (lol)
 
Maybe you can set it somehow within the MP3 file?

I should point out, however, that having an infintitely looping background noise is a good way to get visitors reaching for the back button. The best volume to pick is "0", and that's easy to set...

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top