Pausing sound with IE
Hello,
I'm using the following functions to play, stop, and pause a small wav file:
function playSound() {
if (ie4) document.all['BGSOUND_ID'].src="today2.wav";
if (ns4||ns3) eval("this.document.embeds[0].play()")
}
function stopSound() {
if (ie4)document.all['BGSOUND_ID'].src="jsilence.mid";
if (ns4||ns3) eval("this.document.embeds[0].stop()")
}
function pauseSound() {
if (ie4) document.all['BGSOUND_ID'].src="jsilence.mid";
if (ns4||ns3) eval("this.document.embeds[0].pause()")
}
The problem is, with I coould not figure out how to issue a pause, so right now it just stops the sound, the same as the stop function. Does anyone know how to pause the sound with IE? Thanks.
Bob