What's New in QuickTime 5
| Previous | Chapter Contents | Chapter Top | Next |
Some EMBED tag parameters, such as HREF , HOTSPOT , and QTNEXT , allow you to specify a URL. The QuickTime plugin can also parse URLs from HREF Tracks or text tracks inside a movie. A QuickTime URL extension allows these URLs to include a target, specified as part of the URL, using the syntax "<URL> T<target>" . Note that the URL and the target specification are surrounded separately by angle brackets, and that quotes surround the URL and the extension jointly.
QuickTime 5 introduces a new URL extension that allows you to specify a separate set of EMBED tag parameters for each movie as part of the URL. This is easier and more flexible than having to embed settings in a movie using Plugin Helper, and it can be accomplished automatically at the HTML level by any script that can output a text file. The syntax is:
"<URL> T<Target> E<ParamA=Value ParamB=Value ... >"
< EMBED SRC=Movie1.mov HEIGHT=256 WIDTH=320 CONTROLLER=False HREF="<Movie2.mov> T<myself> E<CONTROLLER=True AUTOPLAY=True>" >
uses HTML EMBED tag parameters to tell the QuickTime plugin to play Movie1.mov with no controller, leaving the AUTOPLAY parameter unspecified (controlled by user preferences). If the viewer clicks inside the display area of the movie, the HREF parameter tells the plugin to load Movie2.mov < CLASS="Default-Paragraph-Font"> . The URL extensions > T<> < CLASS="Default-Paragraph-Font"> and > E<> < CLASS="Default-Paragraph-Font"> tell the plugin to > replace the current movie ( T<myself> ), and set AUTOPLAY=True and CONTROLLER=True ( E<AUTOPLAY=True CONTROLLER=True> ).
Again, note that the URL itself is surrounded by angle brackets, and that a set of quotes surrounds the URL and all extensions.
Parameter values set using this method take precedence over any values embedded in the new movie using Plugin Helper or set by user preferences. You can change this using the new AllowEmbedTagOverrides parameter.
What's New in QuickTime 5
| Previous | Chapter Contents | Chapter Top | Next |