INTERNET EXPLORER CONTROL ACTIVATION WORKAROUND

Due to a recent security update to Microsoft's Internet Explorer, web surfers now have to click twice on audio controllers to play the audio because IE throws up the "control activation" seen below:

 

IE audio control activation

There are two things you need to do to get around this. The first is to create a small .js file and add it to the files on your site. The second is to add a line of script calling the .js file at the bottom of any page that has an audio contoller on it.

To create the .js script highlight and copy the following text, including the } at the end:

theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
	theObjects[i].outerHTML = theObjects[i].outerHTML;
}

Open a text editor like Notepad and copy the above code into it. Save the file as something like iefix.js 

In order to save it as a .js file in Notepad, click on the arrow next to "Save as type:" and select "All Files" as shown below:

Then type the whole name (iefix.js) in the "File name:" block including the .js (no txt). After saving the file, publish or FTP the file to your web site's root directory.


Next, add the following script at the end of any html pages that have an audio controller on them, just above the </body> tag:

<script type="text/javascript" src="iefix.js"></script>

That's it! Now web surfers can play your audio files with just one click. I got this information from Quentin Brown at MP3 SoundStream.

BACK

 

Website Audio logo