Chapter 1: Synopsis and Basics
Chapter 2: Production
Chapter 3: RealMedia
Chapter 4: Windows Media
Chapter 5: QuickTime
Code and Examples: Embedding
Code and Examples: Scripting and PlugIn Detection
Chapter 6: Further Solutions
About the author...
Click here for information
Back to start page.





 

Chapter 5: QuickTime: Embedding


Example - Simple cross-browser embedding


Links: QuickTime Player Embedding

Open this link.

Embedding QuickTime for Web Delivery
Technical article on developer.apple.com about QuickTime embedding and the parameters of the embed-Tag in QuickTime 3.0 and higher. Go

Open this link.

QuickTime for the Web
Sample chapter about QuickTime embedding from one book of the QuickTime Developer Series. Go



Example - Simple cross-browser embedding

This is a simple example for an embedded QuickTime Player. Here the EMBED Tag is ”nested” into the OBJECT Tag. As we have seen in the book Internet Explorer uses the OBJECT Tags to embedd an ActiveX control with a given ID into a HTML page.
For a long time Apple didn’t release an ActiveX control. Because of this the Netscape Plug-In was used both on Internet Explorer and Netscape. Microsoft stoped the support of Netscape Plug-Ins in Internet Explorer 5.5 and shortly after this Apple published the ActiveX control of the QuickTime Player.

The source code below just embedds a QuickTime ImageWindow without any controls, buttons or info panels.

Source code:

<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab"
width="320" height="255"
id="movie1" >
<PARAM name="src" value="/media/qt6_bb.mp4">
<PARAM name="autoplay" value="true">
<PARAM name="controller" value="true">
<PARAM name="pluginspage" value="http://www.apple.com/quicktime/download/">
<EMBED width="320" height="255"
src="/media/qt6_bb.mp4"
name="movie1"
enablejavascript="true"
autoplay="true"
controller="true"
pluginspage="http://www.apple.com/quicktime/download/">
</EMBED>
</OBJECT>

See it in action.

     
Synopsis and Basics  Production  RealMedia  Windows Media  QuickTime
Further Solutions  About the author
Any bugs, problems or comments? Please send a mail.
Copyright © 2003 Tobias Künkel.