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



Thanks for the confirmation Steve. This is what we suspected had happened. I had looked at the documentation you reference and it wasn't clear that javascript that was external to the movie (i.e. - in the web page and AC_QuickTime.js) was included in this.

Thanks again,

John

John Riley
email@hidden
email@hidden




On Mar 27, 2007, at 3:07 PM, email@hidden wrote:

------------------------------

Message: 2
Date: Mon, 26 Mar 2007 14:04:02 -0700
From: Steve Gulie <email@hidden>
Subject: Re: QT_WriteOBJECT and javascript  with QuickTime 7.1.5
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"


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
javascripts:

'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.