Description

AUDIO & VIDEO FOR WEB PAGES

Mr Lucky CD and Sheet Music

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=true, or 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:

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: