Table of Contents | Appendices |
File Formats | QuickTime Compressors | QuickTime Plugin HTML Options
Embedding a QuickTime movie created with Electrifier is simple. If you are using a visual HTML editor such as PageMill or Cyber Studio, import the QuickTime movie into the page as you would any other element. If you are generating the HTML by hand, using a text editor, you will need to set up the necessary tags for the example you are creating. The necessary HTML code to embed a QuickTime movie on a page is:
<embed src="URL" pluginspage="http://www.apple.com/quicktime/" width="h" height="v">
Additional parameters may be added following the height of the movie, as desired. If you don't need to adjust the playback options for your movie, you can omit all the optional parameters.
src="URL"
http://www.apple.com/quicktime/preview/samp/trans/samplest/explode.mov
or a relative URL such as samplest/explode.mov
. pluginspage="http://www.apple.com/quicktime/"
http://www.apple.com/quicktime/
which will point to the latest version of the plug-in. width=h
hidden
tag instead.scale
tag, the movie will be cropped or padded to fit the embedded box, as necessary. height=v
hidden
tag instead.scale
tag, the movie will be cropped or padded to fit the embedded box, as necessary.
scale=value
tofit
, aspect
, or a number. If tofit
is used, the movie is scaled to fit the embedded box as specified by the height
and width
tags. If aspect
is used, the movie will be scaled to fit the embedded box but will maintain its proportioning. If a number is used, the movie will be scaled by that ratio (e.g. 1.5). If you do not specify scale, its default value is 1.autoplay=value
true
and false
.autoplay
, the default is specified by the user setting in the QuickTime Plug-in Preferences.cache=value
true
or false
, or simply cache
(which implies true
).cache
, it defaults to the setting specified by the user in the Preferences dialog. hidden
hidden
, then the movie will be visible. If you supply hidden
, the movie will not be visible (this is generally only appropriate for sound-only movies).volume=value
volume
, it defaults to 100. bgcolor=hexadecimal value
bgcolor
parameter uses the standard web page color description format, and appropriate values can be simply generated using the HTML color picker in Mac OS 8.controller=value
true
and false
. If you do not specify controller
, the default is true
for QuickTime movies. For compatibility with existing web pages, the default is false
for QuickTime VR movies. playeveryframe=value
true
and false
. This option is appropriate for QuickTime movies. Note: playeveryframe=true
will turn off any audio tracks your movie may have. If you do not specify playeveryframe
, the default is false
.loop=value
true
, false
and palindrome
. Setting loop
to palindrome
causes the movie to play alternately forwards and backwards. If you do not specify loop
, the default is false
.href=URL
href
parameter for greater control over your movie's interactivity.href
then it should be relative to location of the movie specified in the src
parameter. Note that you can additionally specify a target
frame with the href
parameter.target="frame_name"
href
parameter. Leaving target
unspecified will open the new file in the same place as the current movie.href="http://www.apple.com/quicktime/" target="_blank"
would open the QuickTime home page in a new window when the movie was clicked on.hotspot n = "url"
pan=integer
pan
attribute will set default values for the movie, but it does not allow you to set the angle in response to user actions, so we recommend that you use Electrifier's Set Pan Angle action for greater control and flexibility. tilt=integer
tilt
is specified, the default is 0. The tilt
attribute will set default values for the movie, but it does not allow you to set the tilt angle in response to user actions, so we recommend that you use Electrifier's Set Tilt Angle action for greater control and flexibility. fov=integer
fov
, the default is 0. The fov
attribute will set default values for the movie, but it does not allow you to set the field of view angle in response to user actions, so we recommend that you use Electrifier's Set Field of View action for greater control and flexibility. node=integer
node
, the default node and view is used. The node
attribute will set default values for the movie, but it does not allow you to change the default node in response to user actions, so we recommend that you use Electrifier's Go to Node action for greater control and flexibility. File Formats | QuickTime Compressors | QuickTime Plugin HTML Options
Copyright © 1998 Electrifier, Inc. All rights reserved.