Skip to main content
Participating Frequently
May 23, 2011
Question

Detecting if Flash Player exists on IE

  • May 23, 2011
  • 2 replies
  • 2993 views

I'm able to detect if Flash Player exists on every browser except IE.  The code we are using to detect Flash Player is:

     if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) { // display Flash Object }

    

     else { // display image }

This will not work for IE.  I am using IE9 on Windows 7 64bit.

Any help appreciated.

    This topic has been closed for replies.

    2 replies

    pwillener
    Braniac
    May 24, 2011

    existing wrote:

         if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) { // display Flash Object }

              else { // display image }


    What kind of code is this - JavaScript, ActionScript, ...?

    existingAuthor
    Participating Frequently
    May 24, 2011

    The code is Javascript.

    May 23, 2011

    Hi, You should be able to see the Flash Player logo animation and the version of Flash Player that is Installed for each browser used to test: http://www.adobe.com/software/flash/about/

    This site gives additional info but no animation: http://kb2.adobe.com/cps/155/tn_15507.html 

    eidnolb

    existingAuthor
    Participating Frequently
    May 23, 2011

    Hi, I am actually looking for a solution to check

    if Flash Player exists dynamically, so that I can display .swf if it exists, or an image if

    it does not.  Thanks.

    May 23, 2011

    Hi Perhaps you want a different Adobe Forum? This is the Flash Player Forum, the browser plugin.

    eidnolb