You can use the EMBED tag to add multimedia
The easiest and "most supported" way to add video or sound to your web site is to include the special HTML tag called EMBED. This causes the browser itself to include controls for the multimedia. No ActiveX, Java, VBscript or JavaScript is needed for this method.
This tag is one-sided, meaning that there is no </EMBED> tag. Multimedia elements included in this manner appear on their own line and are centered on the page.
It's also a good idea to include the <NOEMBED> tag to support browsers which don't recognize the <EMBED> tag. You could, for example, use <EMBED> to display a movie of a dog, and <NOEMBED> to display a single JPG frame. The <NOEMBED> tag requires the </NOEMBED> tag.
- There are a number of standard tags plus each plugin tends to have some parameters of their own.
- <EMBED>
- Start your tag with the EMBED tag. This causes the multimedia item to be invoked. The item can be a Quicktime video, Shockwave movie, or music file.
- SRC="url"
- Required. Specifies the location of the item.
<EMBED SRC="movies/demo.mov"> - WIDTH=n and HEIGHT=m
- Required. You may include the WIDTH and HEIGHT to control the size
of the media element.
<EMBED SRC="mymovie.mov" WIDTH=100 HEIGHT=100>
Quicktime Attributes
- CONTROLLER=FALSE
- Specifies whether not you want the media controller bar to be shown. The parameter CONTROLLER=FALSE will remove the bar. The default is to include the controller bar.
- HIDDEN
- Causes the display box to be entirely invisible. This is useful if you are including background sound. It's a bad design (no way for your visitors to turn off the sound), but this is one way to include background music.
- PLUGINSPACE
- Tells the browser where to find the plugin if it is not installed on
the client computer. Your visitors will automatically have the option to
install the plugin.
<EMBED SRC="whatsupdoc.mov"
PLUGINSPACE="http:://quicktime.apple.com/"> - AUTOPLAY
- Indicates that the media element should start automatically AUTOPLAY=TRUE will start it up when the page loads.
- LOOP
- Allows you to have the movie play continuously. There are three parameters: FALSE (play once, TRUE (play forever front to back) and PALINDROME (play forever forwards and backwards).
- PLAYEVERYFRAME
- Setting this to TRUE causes Quicktime to always play all of the frames of the movie. It causes the movie to play slower and is generally not useful. The default is FALSE.