IE Update Fix

This fix will work with all flash products we produce and any others as well. You will use the same process whether you use MP3soundstream, HiFi Audio Stream, MSI Web Video or MSI Jukebox

Here is a video to show you how to allow the media to work without having to use two clicks to authorize delivery of the content. I am not adding it to any of our software yet as the case is still ongoing and many of the large manufacturers such as macromedia, swish etc are also holding off.

Video Tutorial Runs as a popup.

Create a new text file and name ieupdate.js containing the 4 lines of code below.

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

Then, at the bottom of any page containing Flash (or Shockwave, Quicktime etc) add a reference to this file:
<script type="text/javascript" src="ieupdate.js"></script>

And that is it!

It works simply by replacing the contents of the object tag with itself. This external rewritting of the tag is enough for IE accept that your code doesn't require user activation. The outerHTML feature only works in IE, but as IE is the only affected browser that is OK.

You could test for IE using your favorite method (document.all, etc), and instead of adding it to the bottom of the page you could add the code to a window.onload function, depending whatever is best for your site.

If users have JavaScript turned off then your site will work as before.

Hope some people find this useful.

Useful links:
Adobe: Active Content Developer Center
MS: Activating ActiveX Controls

Quentin Brown
==========================

Attach Code

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

 Here is your ieupdate.js if you just want to download it.

PS if you want to get it off your computer for browsing sites then use this.

Start -> Settings -> Control Panel -> Add or Remove Programs ->
Check "Show Updates" box -> Windows XP (KB912945) -> Remove