EMBEDDING AUDIO OR VIDEO
Using the embed and/or object tag:
For Quicktime the height should be 16 pixels higher than the actual video size. Here is a simple code for a quicktime movie that is 240 x 320:
Height and width determine the size of the player displayed
For audio, the height should be set to 16 and the width set to a convenient size for your page. If you do not wish to display the player set the height and width to 2
.
Other parameter values can be specified, eg play_loop=, or true
controls=false
The embed tag is no longer supported by some browsers, it is now common practice therefore to use the object tag.
Using the object tag:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320">
<param name="src" value="yourmovie.mov" />
<param name="controller" value="true" />
</object>
The classid tells the end user’s browser to use Quicktime player.
The problem is that older browsers do not support the object tag so it is a good idea to sandwich
an embed tag inside an object tag
Here is the same tag with an embed tag enclosed:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320">
<param name="src" value="yourmovie.mov" />
<param name="controller" value="true" />
<embed src="yourmovie.mov" height="256" width="320" pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime" controller="true" />
</object>

