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"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="videofilename.mov">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="false">
<EMBED SRC="videofilename.mov" WIDTH="320" HEIGHT="180" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
</OBJECT>

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.