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: QT_WriteOBJECT and javascript with QuickTime 7.1.5




On Mar 24, 2007, John Riley wrote:

I am having trouble with a project after an update to QuickTime  

7.1.5.  I have an object movie that is embedded using the  

AC_QuickTime.js and QT_WriteOBJECT.  I am using two different  

_javascript_s:


'_javascript_:goTo(\'christine_de_pisan.php\');'


and


'hotspot60', '_javascript_:changeAngle(27.0);'



These were working fine in QT 7.1.3, but the hospots do not register  

being clicked on in 7.1.5.  The cursor shows the hotspot, but  

clicking does nothing.


Anyone got an idea of what might be happening and a workaround?


As of QuickTime 7.1.5, _javascript_:// urls are no longer supported in hotspots, HREFs, or any other URL that QuickTime movies can generate. 

This is a security fix. I know it seems a bit odd, since we all use _javascript_ on our web sties, but with YouTube, MySpace, etc., people are now hosting large numbers of other people's movies on their websites. Having your movie execute _javascript_ from your website is harmless; having a movie execute _javascript_ on someone else's web site without their knowledge is not. There was some malicious use made of this capability, unfortunately, and it had to be removed.

URLs from QuickTime movies are now restricted to http://, https://, and rtsp:// for web movies, and file:/// for local disk-based movies.

For additional details, see the "HTML Scripting Guide for QuickTime" and the "_javascript_ Scripting Guide for QuickTime":
http://developer.apple.com/documentation/quicktime/Scripting-date.html

Hope this helps,
steve
 _______________________________________________
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



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.