IMPORTANT
INTERNET EXPLORER INFORMATION:
Internet Explorer 5.2 and above will try to open the
QuickTime files in Windows Media Player (WMP).
However, WMP cannot play these files adequately. You should
warn your users that they need to reinstall QuickTime after any
browser upgrade.
The <EMBED> tag is used to reference a
plug-in application and a specific file for that application to play. The <EMBED>
tag has a set of predefined attributes that allow the web author to set
parameters and modify the plug-in's behavior. Some of these tags are acted on by
the browser and others are processed by the plug-in itself.
The basic <EMBED>
tag must include the
source name (file) and HEIGHT and WIDTH
for the plug-in. For example:
It is the file extension (in
this case .mov)
that tells the browser which plug-in to use. The SRC=
directs the browser to a specific file on a server. HEIGHT
and WIDTH tells the browser what size to
render the plug-in. (For more info on this, see HEIGHT
and WIDTH below).
Certain features of the embedded source can be adjusted.
These include autoplay, cache, controller, hidden, kioskmode,
loop, and volume. Some of these have defaults if they are not
defined by the web author. These defaults are:
Kioskmode
- FALSE
Autoplay -
TRUE
Controller -
TRUE
Loop
-
TRUE
Volume -
100
Autoplay
The AUTOPLAY attribute tells the plug-in whether to start playing
the movie automatically. To start playing automatically, use AUTOPLAY=
FALSE. If you don't want the movie
to start playing automatically, use AUTOPLAY=
TRUE.
N.B. If AUTOPLAY is not defined, the plug-in
will default to the QuickTime preferences set by the user.
Cache
The CACHE attribute determines whether the file will begin to play
before it is fully downloaded. Use CACHE
= TRUE, to enable the entire movie
to be downloaded
into memory before it starts to play. Choose this option if the majority
of your users have a slow connection speed.
Use CACHE=
FALSE, to enable the movie to start playing
without waiting to be completely downloaded. This is the best setting to use if the users have
a fast connection.
N.B. If CACHE is not defined, the
plug-in will default to the QuickTime preferences set by the user.
Controller
The CONTROLLER attribute enables the QuickTime controls to be either hidden
or displayed. Use CONTROLLER=TRUE if you want
the controller to be accessible by the user. Use CONTROLLER=FALSE if you
want the user to have no access to the QuickTime controls.
Height and
Width
HEIGHT and
WIDTH control the size of the viewing region. The default
is to specify the height and width in pixels. If you wish to use another
unit of measure it must be specified.
N.B. Add 16 pixels to the actual height of the movie if you want the
controller to be visible.
Hidden
This attribute makes an object invisible to the user, forcing it
to have a height and width of 0. The browser will not display
an empty region where the plug-in should be, instead it completely
removes the plug-in from the surrounding text/graphics.
N.B.
If the plug-in is hidden, the
user has no control over volume, reverse, forward or stop.
Kioskmode
The KIOSKMODE tag allows the web author to specify whether the
file can be copied by a client. If you don't want anyone
to be able copy the file, use KIOSKMODE= TRUE. If you want to
allow the movie to be copied, use KIOSKMODE= FALSE.
Loop
The LOOP attribute allows the web author to have the file play repeatedly. If you
want
the movie to loop (repeat), use LOOP=TRUE. If you don't want
the movie to loop, use LOOP = FALSE.
Volume
The VOLUME tag is used to preset the Use the starting volume of the
file. The default value is 100; a setting of "0"
will silence the movie. Having the loudest volume enables the user
to get the loudest volume possible and to "turn it down" using a
combination of the sound settings and the QuickTime volume control.
Netscape also supports ALIGN, BORDER,
HSPACE and VSPACE attributes but
Explorer does not.
For more tags and details, see The
Apple web site, Embedding
QuickTime for Web Delivery