What's New in QuickTime 5

| Previous | Chapter Contents | Chapter Top | Next |

AllowEmbedTagOverrides

Setting the AllowEmbedTagOverrides parameter allows you to control whether the current parameter settings can be overridden by lower priority methods. This parameter can be set within your HTML or by embedding the parameter value in a movie, or both.

By default, EMBED tag parameter values set in HTML have higher priority than values embedded in a movie, which in turn take priority over user preferences. Similarly, when a movie inherits parameter values (because of the QTNEXT or SaveEmbedTags parameters), these inherited values take precedence over any values embedded in the movie itself, or specified by user preferences.

If you set AllowEmbedTagOverrides=True in your HTML, however, the current settings can be overridden by settings embedded in a movie using Plugin Helper, which in turn can be overridden by user preferences.

Bear in mind that this affects only parameters whose value you explicitly set. If you do not set a parameter's value in your HTML, for example, that parameter can always be set by Plugin Helper or by the user preferences.

You would normally set AllowEmbedTagOverrides=True in your HTML to allow settings embedded in a new movie to take precedence over the current settings.

For example, when a new movie is specified by the QTNEXT parameter, or when the SaveEmbedTags parameter is set true , the new movie inherits the current parameter settings, and these settings take precedence over settings embedded in the new movie. By setting AllowEmbedTagOverrides to true , you can cause the new movie to inherit the current settings as default values, but override them with any settings embedded in the new movie.

Example:

<EMBED SRC=ClickMe.mov HEIGHT=240 WIDTH=320 CONTROLLER=False HREF=YouClickedIt.mov TARGET=myself SaveEmbedTags=True AllowEmbedTagOverrides=True >

In this example, when the viewer clicks in the display area of ClickMe.mov , the plugin loads YouClickedIt.mov . Because SaveEmbedTags is set True , the new movie inherits the parameter values set in the HTML ( CONTROLLER=False ) as well as any parameter settings embedded in ClickMe.mov , but because AllowEmbedTagOverrides is also true, these act as defaults that can be overriden by any settings embedded in YouClickedIt.mov , which could, for example, set CONTROLLER=True.

Note that when AllowEmbedTagOverrides=True , the AUTOPLAY parameter is controlled by the user's QuickTime Settings control panel. If you set AllowEmbedTagOverrides=True in your HTML, and you want to control the AUTOPLAY parameter, you need to set AllowEmbedTagOverrides=False inside the new movie using a tool such as Plugin Helper. Otherwise, your setting will be overriden by the user's preferences.


© 2001 Apple Computer, Inc.

What's New in QuickTime 5

| Previous | Chapter Contents | Chapter Top | Next |