The Clip Player applet provides a simple sound on/off capability
from modifiable buttons. In this website it appears in both
the Personal Stuff and Career Details sections, and
there is a further example in this section on the About the
Clip Player page.
The Clip Player is more flexible than BGSOUND. Also, its size can be
precisely controlled whereas built-in audio players may vary in
size. See Adding Sound to an HTML page for more details on
BGSOUND and built-in audio players.
What Clip Player Does...-
It loads itself and its graphics, then displays a
"loading sound" graphic.
-
It loads the sound, then displays a
"play sound" graphic.
-
When the "play sound" graphic is clicked, the sound starts
and a "stop sound" graphic is shown.
-
When the "stop sound" graphic is clicked, the sound stops
and the "play sound" graphic is shown.
-
If the play period ends, the "stop sound" graphic is
replaced by the "play sound" graphic.
The Clip Player is limited to au audio files, and either
jpg or gif graphic files. It has a further limitation
in that its audio file is reloaded every time that the page
containing the Clip Player is re-entered. In this site I have used
several methods for playing audio - since they vary in their
strengths and weaknesses.
|