Detecting if Flash Player exists on IE
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.

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

Copy link to clipboard
Copied
Hi Perhaps you want a different Adobe Forum? This is the Flash Player Forum, the browser plugin.
eidnolb
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?

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
Copy link to clipboard
Copied
Thank you.

Copy link to clipboard
Copied
Hi you're welcome. Pat is the computer Tech:-) Glad he responded to your thread!!
Regards,
eidnolb
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
Copy link to clipboard
Copied
Thanks for your help!
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, ...?
Copy link to clipboard
Copied
The code is Javascript.
