EMBEDDING AUDIO OR VIDEO
Using the embed tag:
Embedding allows you the end user to see the player(e.g. Quicktime, Realplayer, Windows Media Player). Unless you specify the browser will use the default player, I prefer to specify which player so that the size of the player always displays as I want on the page, I have found that Quicktime works best in all browswers and platforms. The following examples specify the Quicktime player: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= Parameters are specific to each player, for more info see: The Embed Tagfalse
Using the object tag:
<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:
<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>
For more info see: Zap’s Music on the Net Tutorial




