johnatm / itween

Automatically exported from code.google.com/p/itween
1 stars 2 forks source link

Examples page does not detect Unity player in IE 11 #144

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use IE 11 on Windows 8.1
2. Install Unity Web Player from http://unity3d.com/webplayer
- Confirm installed on above page (should show player version 4.5.5f1)
- Confirm installed and enabled in IE -> Tools -> Manage Add-ons
3. Go to http://www.itween.pixelplacement.com/examples.php
4. Click on an example

What is the expected output? 
Example loads in the web player.

What do you see instead?
"Unity plugin required" image appears.

Notes:
This check in unityreplace.js, line 53, returns false:
if (navigator.appVersion.indexOf("MSIE") != -1 && 
navigator.appVersion.toLowerCase().indexOf("win") != -1)

The value of navigator.appVersion is:
"5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; .NET4.0E; .NET4.0C; .NET CLR 
3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; rv:11.0) like 
Gecko"

Notice the absence of the string "MSIE".

Original issue reported on code.google.com by b...@themeyers.net on 5 Nov 2014 at 11:49