• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Detecting if Flash Player exists on IE

New Here ,
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

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.

Views

2.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

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

eidnolb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

Please excuse me if this is not the place for this post, but my question is directly related to detecting the Flash Player plugin dynamically

as a page loads in the user's browser.  Is there another place for this question?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

Hi, I'm not sure which Forum would be best for what you want. Maybe this thread will be helpful:

http://forums.adobe.com/message/2703030#2703030

Thanks,

eidnolb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

Thank you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

LATEST

Hi you're welcome. Pat is the computer Tech:-) Glad he responded to your thread!!

Regards,

eidnolb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

Anyway, this is not really a Flash Player question, this is a browser compatibility scripting question.

'navigator' is not an IE object; it is an object only known to Navigator-based browsers.

See if this article helps you to find a solution for your question: http://stackoverflow.com/questions/5229830/ie-9-flash-detect-with-javascript

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

Thanks for your help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

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, ...?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

The code is Javascript.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines