Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can someone check this on a mac please



Hi Eric,
 
I'm the developer of this script.
 
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);
      }
 
Thanks for the info!!
 
For Pete:
You can download the latest version of this script and replace it in your pages: www.devalvr.com/instalacion/detectvr.zip
 
And another tip, if you want to add any parameter for any plugin you must use "viewerparameters" function, for example:
 
<SCRIPT type="text/_javascript_">
   viewerparameters("qt","controller","true");
   viewerparameters("devalvr","filter","0","autoplay","3");
   writevrcode("panorama.mov","","","","600","400");
</SCRIPT>
 
best regards
fiero
 
 


 
On 5/29/07, Eric Carlson <email@hidden> wrote:

On May 29, 2007, at 5:43 AM, Markus Altendorff wrote:

Pete - Sphereworks Ltd schrieb:
This link is using the same code to display in images, can you check if this
is working to.  To my knowledge this is working fine, so it will be
interesting if any of you can't get this working.
http://www.sphereworks.co.uk/client_area/webbers/the_cleave_tour.php

All b0rken on my Safari 2.04 / 10.4.9 / QT 7.1.6

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:

 
if(navigator.plugins[i].name.indexOf("QuickTime Plug-in")!=-1)
{
var words = navigator.plugins[i].name.split(" ");
if ( words.length < 3 )
continue;
var version = words[2].split(".");
var min = minQTVersion.split(".");
pluginQTInstalled=checkMinVersion(version,min,3);
break;
}

 
  Sorry for the inconvenience,

 
Eric Carlson
QuickTime Engineering

 _______________________________________________
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

 _______________________________________________
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

References: 
 >RE: Can someone check this on a mac please (From: "Pete - Sphereworks Ltd" <email@hidden>)
 >Re: Can someone check this on a mac please (From: Markus Altendorff <email@hidden>)
 >Re: Can someone check this on a mac please (From: Eric Carlson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.