Web Movies

horizontal rule

The Embed Tag

The basics of the <embed> tag are as follows. You would add a line of code similar to the one below into the body of your web page, just as you would add an image (<img>) tag:

<embed src="quicktime_file.mov" width="480" height="270" controller="false" bgcolor="FFFFFF" pluginspage="http://www.apple.com/quicktime/download/"></embed>

Dissection of the various <embed> tag attributes:

  • src="quicktime_file.mov" - Specifies the source of the movie file. It works exactly the same as it does in <img src=...>.
  • width="480" height="270" - Specifies the width & height of the movie. Add 16 pixels to the height to allow room for playback and volume controls at the bottom.
  • controller="false" - Specifies whether or not the movie controller will be visible.
  • bgcolor="FFFFFF" - Specifies the background color for any space that is not taken by the movie. For example, if a 160x120 movie was embedded in a space of 200x120, there would be 40 pixels of undefined color space in the width. Specifying the hex value of the background color will fill the undefined space with the value chosen.
  • pluginspage="http://www.apple.com/quicktime/download/" - Specifies where to go to get the QuickTime plugin if it's not already installed on your computer. It is a free download and the web browser will ask you to install it, if necessary.


Last updated on the sixteenth of May, 2001.
Use this contact form if you have any further questions.