Download "user manual"

Transcript
4.
5. Set the additional properties as necessary.
6. Configure parameters by using the Parameters button in the Property inspector.
You can add your own ClassIDs to the Property inspector by editing the file at
Dreamweaver4/Configuration/ActiveXNames.txt.
Figure 5-15 shows the Property inspector as it appears when an ActiveX control is selected.
Figure 5-15. The Property inspector for ActiveX controls
Inserting an ActiveX control adds an <object> tag to your HTML similar to the following code:
<object width="300" height="300"
classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<embed width="32" height="32" src="Activeup.cab">
</embed>
</object>
Prior to QuickTime 5.0.2, the QuickTime installer installed a Netscape-style plugin only. In addition to the
plugin, the latest QuickTime installer includes an ActiveX control to support the latest version of Internet
Explorer for Windows.
Example 5-2 shows code used to insert the QuickTime ActiveX control and Netscape-style plugin. This code
must be entered by hand in Dreamweaver's Code view.
Example 5-2. HTML for inserting the QuickTime ActiveX control and plugin
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="160" height="144"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src"
value="sample.mov">
<param name="autoplay"
value="true">
<param name="controller" value="false">
<embed src="sample.mov" width="160" height="144"
autoplay="true"
controller="false"
pluginspage="http://www.apple.com/quicktime/download/">
</embed></object>
Don't change the codebase, classid , or pluginspage attributes. The other attributes, such as height,
width, and src, should be changed in both places they appear. For details on other attributes of the
QuickTime plugin, see http://www.apple.com/quicktime/authoring/embed.html. Chapter 12 explains how to
use the Check Plugin behavior to test for the QuickTime plugin.
5.3.2 Inserting Plugins