• 18th May 2006 -By Vinu Thomas

    Since Microsoft lost a legal battle on how they display multimedia conent in their browser, they’ve had to the change the way these content displays on screen. Now a user has to click these elements to start playing the flash animation.

    This affects Flash files, QuickTime, RealPlayer, Java , Adobe Acrobat among others. It means users have to click the object first in order to activate its functions.

    To fix the problem, please follow these steps:

    1) Just below the last <object> in your HTML page, insert the following Javascript:


    2) Open a new document in Notepad or your HTML editor, and copy & paste the following content into it:

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

    3) Save this file as fixit.js

    Thanks to Mix FX for this info: FIX IT – Click to activate and use this control – Flash | Java | I.E | Problem

  • 12 Comments to “FIX IT – Click to activate and use this control – Flash | I.E | Problem”

    • Dan on June 9, 2006

      This one doesnt work for me, it never loads in the swf unfortuneately.

    • Dan on June 9, 2006

      This one doesnt work for me, it never loads in the swf unfortuneately.

    • AC on June 19, 2006

      Here is a different solution that may fix the problem for your site:

      Click to activate and use this control fix

    • AC on June 19, 2006

      Here is a different solution that may fix the problem for your site:

      Click to activate and use this control fix

    • PaulE on September 26, 2006

      For me it causes pages to not work and to fail validation. Validation fails for unknown attribute “mce_src” and “xsrc”. A quick check shouws these attributes are not validat html or xhtml.
      What are they?
      thanks

    • PaulE on September 26, 2006

      For me it causes pages to not work and to fail validation. Validation fails for unknown attribute “mce_src” and “xsrc”. A quick check shouws these attributes are not validat html or xhtml.
      What are they?
      thanks

    • vinuthomas on September 27, 2006

      Hi Paul,

      It looks like wordpress had mangled up the code which was pasted in. I’ve corrected the code above.

    • vinu on September 27, 2006

      Hi Paul,

      It looks like wordpress had mangled up the code which was pasted in. I’ve corrected the code above.

    • Rene on December 19, 2008

      Code not correct …

      for (var i = 0; i < theObjects.length; i )

      must be …

      for (var i = 0; i < theObjects.length; i++ )
      ^

    • Rene on December 19, 2008

      Code not correct …

      for (var i = 0; i < theObjects.length; i )

      must be …

      for (var i = 0; i < theObjects.length; i++ )
      ^

    • vinuthomas on December 20, 2008

      Thanks for pointing that out. I’ve fixed it in the article

    • vinu on December 20, 2008

      Thanks for pointing that out. I’ve fixed it in the article

    Leave a Reply