I’ve got an audio file that plays when you first hit a webpage. I need that audio to stop if a link is clicked. I’ve got that working in FireFox by replacing the file that’s playing with a file that doesn’t have any sound, but IE doesn’t seem to recognize the code. Can anyone translate it into an IE compatible version?
<input type=button value=”Stop Sound” onclick=”HideSound()”>
<embed id=”BSound” height=”96″ src=”SoundFile.mp3″ hidden=”true” autostart=”true” width=”128″></embed>
Help @nbcrockett spread the word by sharing this article on Twitter...Tweet This