Apple
UserpicJavascript and Quick Time
Posted by Moxietype

Important: Starting with QuickTime 7.1.5, you can no longer issue javascript:// URLs or call JavaScript functions directly from within a QuickTime movie. This feature was removed from QuickTime for security reasons. This document includes techniques for working around this change.

Introduction to JavaScript Scripting Guide for QuickTime

Full Guide (next page) includes Movie Commands Reference, Quick Time properties, etc.

Important: If QTSRC is set to a relative URL, it must be relative to the movie specified in the SRC parameter, not the web page in which it is embedded.

Note: URLs cannot cross local/remote zone boundaries. In other words, a local movie (file:// protocol) can invoke only local URLs, such as another local movie, and remote movies (http://, https://, or rtsp:// protocol) can invoke only remote URLs, such as another remote movie or a web page. Furthermore, remote URLs are restricted to http://, https://, and rtsp:// protocols. Other protocols, such as javascript://, are prohibited.

More here

HTML Scripting Guide for Quick Time

If you do have QuickTime Pro, there might be a workaround:

  1. Open the movie in QuickTime Pro;
  2. Display its properties (by pressing Command-J or Control-J);
  3. Select the master track;
  4. Click the Presentation tab;
  5. Enable the checkbox beside "Enter fullscreen mode when opened."
  6. Set the webpage to launch the movie in the QuickTime Player by assigning the target parameter to quicktimeplayer.

Needs to be tested.



Return to Home