Windows Movie Maker HelpDo you shoot videos with a camera or camcorder?
Quickly learn techniques to make amazing videos without purchasing expensive software. This printable home-study guide shows you how to make better-looking movies from your AVCHD, HDV, or portable camcorder. Download Mastering Movie Maker now! Coupon code: APRILBABY saves you 35%.

Embedding QuickTime to Launch External Player

While it looks slick to publish your QuickTime movie embedded in a Web page, the size of the movie will potentially slow page load times. One way to get around this is to create a poster movie which launches the QuickTime player in the external QuickTime Player application when clicked. The image displays just like it would if you were embedding the movie to play in the browser, but you avoid the wait by keeping the file size smaller. Opening the QuickTime Player on the desktop also eliminates some of the confusion about how the player works.

Just like the example on embedding the QuickTime Player in your Web site or blog page, the code for launching the external player also gets pasted in the <body> of your page or blog post so it displays properly when you serve the video. There are two main differences for the code to launch QuickTime Player in an external browser. Notice this time, your src value has a href value, which tells the player to launch something else when clicked. The other change is the addition of a target value of quicktimeplayer which tells the embedded file to launch the external player when clicked.

This time around, we set the controller parameter to false so the play controls don't appear.

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="240" width="320">

<param name="src" value="http://www.yourdomain/yourposter.mov">
<param name="href" value="http://www.yourdomain/yourmovie.mov">
<param name="target" value="quicktimeplayer">
<param name="type" value="video/quicktime" height="240" width="320">
<param name="controller" value="false">


<embed src="http://www.yourdomain/yourposter.mov" height="240" width="320" type="video/quicktime" href="http://www.yourdomain/yourmovie.mov" target="quicktimeplayer" pluginspage="http://www.apple.com/quicktime/download/" controller="false">

</object>

Here's an example of this code in action:






Click the image to play the movie


Like the standard example of embedding the player in a Web page, the classid and codebase information in the object parameter are required for compatibility with Internet Explorer and must be included for most viewers to see your video.

For more optional parameters, Apple offers a great list of optional features for embedded QuickTime movies, along with use cases and code samples.

Featured Resources

How to choose the right Identity Protection service.
Read our comparison of identity protection options to help you pick the best one for your family.

Master Home Movie Editing
Read a detailed guide on how to improve your home movies.

Instantly Fix Driver Problems
Find missing drivers on your XP or Vista PC.

Back up your iPod
iPod Access backs up your iPod music library and transfer songs to a new computer.

Convert Vinyl to MP3 or CD
Convert your Vinyl LPs and Cassettes to CD or MP3 using a simple software solution.

Subscribe for Free!

Your E-mail Address:

Ads