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

Fixed IE detection #1018

Merged
merged 1 commit into from Nov 16, 2013
Merged

Fixed IE detection #1018

merged 1 commit into from Nov 16, 2013

Conversation

jefferyto
Copy link
Contributor

navigator.appName is still "Microsoft Internet Explorer" for IE6-10, and "Netscape" for IE11 (so I'm told [1]), neither of which contains "trident".

Instead, combine the older "microsoft" match (which still works for IE<11) with a test for "trident" on the user agent string.

[1] http://stackoverflow.com/a/17907562

navigator.appName is still "Microsoft Internet Explorer" for IE6-10, and "Netscape" for IE11 (so I'm told [1]), neither of which contains "trident".

Instead, combine the older "microsoft" match (which still works for IE<11) with a test for "trident" on the user agent string.

[1] http://stackoverflow.com/a/17907562
johndyer added a commit that referenced this pull request Nov 16, 2013
@johndyer johndyer merged commit 25948fd into mediaelement:master Nov 16, 2013
@jefferyto jefferyto deleted the patch-1 branch November 26, 2013 05:25
@jefferyto jefferyto mentioned this pull request Jan 16, 2014
rexblack pushed a commit to rexblack/mediaelement that referenced this pull request May 22, 2014
ale-grosselle pushed a commit to ale-grosselle/mediaelement that referenced this pull request Nov 25, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants