Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

HTML Scripting

You can use HTML to communicate with the QuickTime browser plug-in or ActiveX control when displaying QuickTime-compatible content in a browser. This allows you to control many aspects of QuickTime behavior, such as image scaling, audio volume, autoplay, looping, linking a series of movies, launching QuickTime Player, and opening a specified URL when the user clicks the movie.

Before it can communicate with QuickTime, your HTML must cause a browser to load the QuickTime plug-in or ActiveX control. This typically involves using either the <EMBED> tag, the <OBJECT> tag, or both tags together. Using the <EMBED> and <OBJECT> tags also allows you to use QuickTime to display multimedia that may not be QuickTime-specific, such as MP3, MPEG-4, and SMIL.

Apple provides a utility JavaScript file that you can include in your web pages. This script file contains functions you can call to automatically generate the correct <EMBED> and <OBJECT> tags.

The main method for controlling QuickTime from HTML is the use of attributes, also known as parameters, within the <EMBED> and <OBJECT> tags. More than 30 attributes are recognized specifically by QuickTime.

Attributes can be combined in thousands of ways; some particularly useful examples are included in the section “Applications and Examples.”

Contents:

Doing It the Easy Way
Getting a Browser to Load QuickTime
Providing a Seamless Experience in Internet Explorer
QuickTime <EMBED> and <OBJECT> Parameters
Applications and Examples




< Previous PageNext Page > Hide TOC


Last updated: 2007-06-06




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice