Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flash detection on IE9 #36

Open
luruke opened this issue May 26, 2015 · 0 comments
Open

Flash detection on IE9 #36

luruke opened this issue May 26, 2015 · 0 comments
Assignees

Comments

@luruke
Copy link

luruke commented May 26, 2015

Hey, i've had a problem detecting flash under IE9 under Win7.
Even adobe flash was installed Modernizr.flash was false.

I've solved with this little snippet I found on stackoverflow (http://stackoverflow.com/a/3336320/2367784):
try { Modernizr.flash = Boolean(new ActiveXObject('ShockwaveFlash.ShockwaveFlash')); } catch (exception) { Modernizr.flash = ('undefined' != typeof navigator.mimeTypes['application/x-shockwave-flash']); }

The only difference should be that Detectizr test ShockwaveFlash.ShockwaveFlash.1 instead of ShockwaveFlash.ShockwaveFlash, what this .1 is? It is a bug?

@barisaydinoglu barisaydinoglu self-assigned this Sep 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants