Embedding QuickTime Movies

You can embed QuickTime videos files to your web page by using an object element. Type (or copy and paste) in the following code in the body section of your HTML code:

<object type="video/quicktime" data="URL location of QuickTime video file.mov" width="X" height="Y">

</object>

The values of X and Y are the values of the width and height (in pixels) that you want your video to be.

Embed QuickTime For Internet Explorer

The code shown above allows for people using non Internet Explorer browsers to view your QuickTime movies. People using Internet Explorer will not be able to see the videos that you posted. This is because Internet Explorer uses a non standard set of code to allow these videos to be played. To ensure that visitors to your web site will be able to play the video regardless of the browser they are using, you need to use the following code in the body section:

<object classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="X" height="Y">

<param name="src" value="URL location of QuickTime video file.mov" />

<!--[if !IE]>-->

<object type="video/quicktime" data="URL location of QuickTime video file.mov" width="X" height="Y">

</object>

<!--<![endif]-->

</object>

Template Design | Elque 2007