R
Richard Brooks
IE5.5
It's probably an oft repeated question but I have some code that used to
work but does not now.
This line in my Javascript code give an error now.
document.embeds[Math.floor(Math.random()*6)].play();
And the following are the six lines of WAV files that used to be played at
random when a timed event happened.
<embed src="ukatc32.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc41.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc42.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc90.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc92.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc93.wav" width="1" height="1" autostart="false"
hidden="true" />
I've been looking for an alternative to 'embed' without the user having
download yet another plugin, so what is the alternative ?
Thanks,
Richard Brooks.
It's probably an oft repeated question but I have some code that used to
work but does not now.
This line in my Javascript code give an error now.
document.embeds[Math.floor(Math.random()*6)].play();
And the following are the six lines of WAV files that used to be played at
random when a timed event happened.
<embed src="ukatc32.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc41.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc42.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc90.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc92.wav" width="1" height="1" autostart="false"
hidden="true" />
<embed src="ukatc93.wav" width="1" height="1" autostart="false"
hidden="true" />
I've been looking for an alternative to 'embed' without the user having
download yet another plugin, so what is the alternative ?
Thanks,
Richard Brooks.