QuickTime: Embedding QuickTime for web delivery

Learn how to embed QuickTime content on an Internet web page. To see the full reference list for the Embed tag's attributes, go here.

The <EMBED> tag allows media file types other than those directly supported by the browser to be handled with an external application or plugin. In this case, the external application is QuickTime Player and the plugin is the QuickTime Plugin.

Note: With the release of Internet Explorer 5.5 SP2 and later, you must use an <OBJECT> tag in addition to the <EMBED> tag for your web pages to be compatible with both Netscape/Mozilla, Safari, and Internet Explorer on Mac and Windows systems.

Basic Necessities

The <EMBED> tag is similar to the <IMG> tag; they both have a SRC, WIDTH and HEIGHT parameter. These parameters are required and tell the browser the media to be displayed and the width and height of the media specified in the SRC attribute.

The SRC attribute is the media file to display either by an absolute or relative URL. The HEIGHT attribute specifies the vertical size in pixels of the SRC attribute. The WIDTH attribute specifies its horizontal size.

Watch the Size

In order for the controller to appear properly, add 16 pixels to the height of a movie.

For a sound-only movie, use a height of 16 for the controller and any width that looks good on your Web page. (If you set the width to 16 for a sound-only movie, the controller is minimized to a single Play/Pause button.)

Never set HEIGHT or WIDTH to less than 2, even if the movie is hidden.

Embed Tag Attributes

AUTOHREF HOTSPOTn SCALE
AUTOPLAY HREF SRC
BGCOLOR=HEX KIOSKMODE STARTTIME
BGCOLOR=NAME LOOP TARGETn=FRAME_NAME
CACHE MOVEID TARGET=MYSELF
CONTROLLER MOVIENAME TARGET=QUICKTIMEPLAYER
CORRECTION NODE TARGETCACHE
DONTFLATTENWHENSAVING PAN TILT
ENABLEJAVASCRIPT PLAYEVERYFRAME TYPE=MIMEtype
ENDTIME PLUGINSPAGE URLSUBSTITUTEn
FOV QTNEXTn VOLUME
GOTOn QTSRC WIDTH
HEIGHT QTSRCCHOKESPEED
HIDDEN QTSRCDONTUSEBROWSER

For more information about utilizing QuickTime for websites, visit Apple Developer Connection's QuickTime Topics.

Published Date: Oct 7, 2016