Return
Netscape Navigator 3.0 (Speakers on?)
If you're using Internet Explorer, you may not see or hear anything here!

Movies can be embedded in Netscape Navigator 3.0 to permit automatic load and play when the page is opened, and to be looped indefinitely. You can click on the image to start and stop it.

Also, you can define a sound that will be played automatically when the page is opened. This sound has no external player associated with it and can be looped to play indefinitely or until the user leaves the page or the browser's "Stop" button is clicked.

Embedding Movies

Movies are embedded in a document using the <EMBED> tag. In this particular case only movies in AVI format can be embedded. The movie showing above uses the following HTML specifications:

<EMBED SRC="butterfly.avi" AUTOSTART=TRUE LOOP=TRUE WIDTH=250 HEIGHT=100
ALIGN=LEFT HSPACE=15 VSPACE=5>

which illustrate the parameters you can supply to control its display:

<EMBED SRC=filename.avi ...parameters... >
The name and location (URL) of the .avi movie file (optionally enclosed in quotes). Other parameters include:
AUTOSTART=TRUE|FALSE
A value of TRUE starts the movie automatically when the page is opened; a value of FALSE (default) requires the user to click on the single-frame image to start the movie.
LOOP=TRUE|FALSE
A value of TRUE causes the movie to play continuously until the user clicks on the movie to stop it; a value of FALSE (default) plays the movie one time.
WIDTH=n
Specifies the width, in pixels, of the movie (normally should be the original width).
HEIGHT=n
Specifies the height, in pixels, of the movie (normally should be the original height).
ALIGN=TOP|BOTTOM|CENTER|BASELINE|LEFT|RIGHT|MIDDLE
Specifies how text flowing around the movie will be aligned; similar in use to the ALIGN parameter of the <IMG> tag. Not recognized in Internet Explorer.
HSPACE=n and VSPACE=n
Used to control the amount of horizontal and vertical blank space, in pixels, to leave around the movie; similar to their use with the <IMG> tag. Not recognized in Internet Explorer.

Embedding Sounds

Also, you can insert audio clips (such as WAV or MIDI files) into a page. The accompanying controls can be used to stop and start the sound that is playing (if you have your speakers turned on). The exact controls which are present depends on which browser you are using and which sound player is associated with it.

The same <EMBED> tag is used with parameters specific to sounds:

<EMBED SRC=filename.ext>
The name and location (URL) of the WAV, AU, AIFF, or MIDI sound file (optionally enclosed in quotes). Other parameters include:
AUTOSTART=TRUE|FALSE
A value of TRUE starts the sound automatically when the page is opened; a value of FALSE (default) requires the user to click on the "play" button of the sound player to start the sound.
LOOP=TRUE|FALSE|n
A value of TRUE causes the sound to play continuously until the user clicks the "stop" button of the sound player or the user accesses another page; a value of FALSE (default) plays the sound one time; an integer value (n) plays the sound that many times in succession.
CONTROLS=CONSOLE
The default CONSOLE displays the player controls. The CONTROLS parameter must be accompanied by the WIDTH and HEIGHT parameters.
HIDDEN=TRUE
Adding the HIDDEN parameter hides the controls so as to produce a background sound that the user cannot turn off without advancing to a different page. Note that just leaving out the CONTROLS parameter does not keep the controls from being displayed, since this is the default setting.
WIDTH=n
Specifies the width, in pixels, of the CONSOLE (should be 144); this parameter must be present if CONSOLE is present.
HEIGHT=n
Specifies the height, in pixels, of the CONSOLE (should be 60); this parameter must be present if CONSOLE is present.
ALIGN=TOP|BOTTOM|CENTER|BASELINE|LEFT|RIGHT|MIDDLE
Specifies how text flowing around the CONSOLE will be aligned; similar in use to the ALIGN parameter of the <IMG> tag.
HSPACE=n and VSPACE=n
Used to control the amount of horizontal and vertical blank space, in pixels, to leave around the CONSOLE; similar to their use with the <IMG> tag.


Return