Web Global Net Web Application & Web Development Project Center

Web Site Planning Related => General Web Development Questions => Topic started by: admin on April 27, 2007, 10:44: AM

Title: Embedding Quicktime video on a web page
Post by: admin on April 27, 2007, 10:44: AM
Here is the code to embed a Quicktime video. Change the information twice as the code is designed to cover a couple of different browsers.

Embedding Quicktime Files

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="320"HEIGHT="180"
<PARAM name="SRC" VALUE="videofilename.mov">
<PARAM name="AUTOPLAY" VALUE="true">
<EMBED SRC="videofilename.mov" WIDTH="320" HEIGHT="180" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/">

Notice that this method uses two tags: <object> and <embed>. This is for maximum browser compatibility. You will need to set the file name and attributes for both tags.