What's New in QuickTime 5

| Previous | Chapter Contents | Chapter Top | Next |

New Embed Tag Parameters

The QuickTime browser plugin accepts two new EMBED tag parameters and a new URL extension that allows you to specify a set of EMBED tag parameters as part of a URL.

EMBED tag parameters are normally specified in HTML code as part of the EMBED tag. However, parameter values can also be stored inside a movie -- typically by an application such as Plugin Helper. And some parameters, such as AUTOPLAY , can also have their value set by user preferences.

This makes it possible to specify different settings for the same parameter in different places. You could set AUTOPLAY=True in your HTML, for example, while embedding AUTOPLAY=False in the movie using Plugin Helper. QuickTime resolves any such conflicts by giving first priority to HTML, next priority to settings embedded using Plugin Helper, and last priority to settings specified by user preferences.

As each parameter's value is set by one of these methods, it is flagged to prevent its value from being overridden by a lower priority method. Unflagged parameters can still be set, allowing all methods to operate as long as none conflict.

The EMBED tag parameter settings can change when one movie replaces another, through the use of the QTNEXT or HREF parameter, for example, or through the action of an HREF track or a VR hotspot.

When one movie replaces another as specified in the QTNEXT parameter, the new movie inherits its parameter values from the current movie. Any values set in the HTML or embedded in the first movie are flagged, and take precedence over any values embedded in the new movie or the user preferences.

When one movie replaces another as specified in the HREF parameter, or as the result of an HREF Track action or a VR hotspot, the EMBED tag parameters are all reset to their default values. They are not flagged, however, so the defaults can be overridden by embedding the desired settings in the new movie.

The new EMBED tag parameters and URL extensions introduced in QuickTime 5 give you more control over these behaviors. You can now specify a set of explicit parameter values as part of a URL, instead of having to embed them in the new movie. You can also specify whether a new movie should inherit the current settings, and whether the current settings may be overridden (by settings embedded in the new movie or by the user preferences).


© 2001 Apple Computer, Inc.

What's New in QuickTime 5

| Previous | Chapter Contents | Chapter Top | Next |