I had MacOSX 10.4.8 , QT 7.0.4 and Safari 2.0.4 , and Pete's page worked fine here: navigator.plugins[i].name="QuickTime Plug-in 7.0.4"
Now, I installed MacOSX 10.4.9 (required for QT 7.1.6) and the latest QT version 7.1.6 and saw this problem: navigator.plugins[i].name="QuickTime Plug-in"
I fixed this issue with:
if (words.length<3) installed=1; else { var version = words[2].split("."); var min = minQTVersion.split(".");
installed=checkMinVersion(version,min,3); }
Same _javascript_ error in the detectvr.js as the other pages ("TypeError, undefined value, line 185")
184: var words = navigator.plugins
[i].name.split(" "); 185: var version = words[2].split(".");
Maybe it's something as simple as Safari's _javascript_ engine not liking certain variable names?
This is caused by a bug in QuickTime 7.1.6. The problem is that one of the two QuickTime plug-ins installed on the Mac (one uses the Safari plug-in APIs, and one uses the old Netscape plug-in APIs) has the wrong name in _javascript_. The named property should be "QuickTime Plug-in
7.1.6", but instead it is "QuickTime Plug-in" so line 185 fails because "words[2]" is NULL since there are only two words in the name.
We have fixed the problem for the next release of QuickTime, but this script (and others like it) can be changed to work around the problem by continuing to look though the plugins array if there are only two words in the name of a QuickTime plug-in. Something like this will work for this script:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-VR mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-vr/email@hidden
This email sent to email@hidden