A Background Sound specifies an audio file to be played in the
background while viewing a document.
Specific Attributes
Balance
2 | 3
| 3.2 | 4
| IE4B1 | M
| N | O
Required? No
Description:
This attribute determines how sound output will be balanced in right/left
stereo output situation. A value of -10000 is left-only
balance, and a value of 10000 represents right-only
balance. A value of 0 represents balanced output
between the two stereo output devices.
Values: Integers with values from
-10000 to 10000 with
zero (0) being DEFAULT.
Delay
2 | 3
| 3.2 | 4
| IE | M3
| N | O
Required? No
Description:
Specifies the number of seconds to delay before playing the indicated
sound file.
Values: Positive integers representing
the number of seconds to delay.
Loop
2 | 3
| 3.2 | 4
| IE2 | M3
| N | O2.1
Required? No
Description:
Allows the author to specify the number of times the sound will play.
Values:
Positive integers or Infinite,
which will play the sound continuously.
Src
2 | 3
| 3.2 | 4
| IE2 | M2
| N | O2.1
Required? No
Description:
Specifies the URL of the audio file. Allowed formats are .Wav, .Au and
Midi files.
Values: An absolute or relative URL.
Volume
2 | 3
| 3.2 | 4
| IE4B1 | M
| N | O
Required? No
Description:
This attribute controls the loudness level on the output device of
the background sound. A value of zero (0)
represents full volume output while -10000
represents zero output volume.
Values: Integers with values from
-10000 to 0 with
zero (0) being DEFAULT.
Authors are urged to provide alternate methods of accessing files
referenced by the BGSound element if they are important to the content of
the page (perhaps by using a hyperlink) because of limited support
for the element.
Browser Peculiarities
It is interesting to note that although Internet Explorer is credited
with the creation of this element, Mosaic also created limited support in a
version the same month the first supporting Internet Explorer version was released.