Inside Macintosh: QuickTime Reference
| Previous | Chapter Contents | Chapter Top | Next |
SMIL Root Element Attributes
The QuickTime SMIL Extensions define the following additional attributes for the <smil> element:
-
autoplay: Specifies whether the resulting presentation should automatically start playback upon instantiation. Legal values are either "true" or "false," and the default is "false." Common usage is:
<smil qt:autoplay="true"/>
-
next: Specifies to the player that after this presentation is finished, the presentation referenced in the attribute value should be invoked and played in the same space. Used to chain presentations together. A valid attribute value is any URL. This capability is equivalent to the QuickTime browser plug-in's
"qtnext" attribute. Common usage is:
<smil qt:next="nextpresentation.smi"/>
-
time-slider: Specifies whether a time line should be displayed as part of the user interface. Because by default the QuickTime playback engine dynamically loads media objects as required, the duration of the overall media presentation can change as a movie is played or navigated. When the duration changes, the time line will change to reflect that. This can be unnecessarily confusing to the user. Therefore, by default, QuickTime movies created from a SMIL document do not display a time line as part of their user interface. This behavior can be overriden using the "time-slider" attribute. Common usage is:
<smil qt:time-slider="true"/>
-
immediate-instantiation: Specifies whether the media objects within the presentation should be instantiated immediately, i.e., at the same time the presentation itself is instantiated, or whether instantiation should be deferred until the element is ready to be played back. Legal values are either "true" or "false," and the default is "false." The value of this attribute may be overridden on a media-object basis by using it as an attribute to individual media-object elements, as described below. Because this attribute causes all media objects to be instantiated, it can take considerable time and memory for a complex presentation or one being loaded over a slow network connection. Therefore, it is recommended that it only be used on small media objects. Common usage is:
<smil qt:immediate-instantiation="true"/>
-
chapter-mode: Specifies to the player, both QuickTime Player and the Movie Controller, the way in which chapters should be used in the user interface when a time line is part of the interface. The chapter-mode attribute can have a value of "all" or "clip". If the attribute is not present, the default value is "all". If the chapter-mode attribute is "all", then the player displays the time line of the entire duration of the presentation. Each chapter represents a point along that time line. If the chapter-mode attribute is set to "clip", then the time line no longer represents the entire duration of presentation. Instead, it represents the duration of the current chapter. The "clip" behavior is useful for long presentations where the granularity of the timeline may be unacceptably low. It is also useful for network-based presentations, particularly those using streaming media, where the actual duration of a clip isn't known until it has started to play. By using the "clip" value of the chapter-mode, the user will not be exposed to the duration changes of the presentation caused by the loading of media as the presentation is played or navigated. Common usage is:
<smil qt:chapter-mode="clip"/>
© 2000 Apple Computer, Inc.
Inside Macintosh: QuickTime Reference
| Previous | Chapter Contents | Chapter Top | Next |