Image Processing Reference
In-Depth Information
Controlling the <EMBED> and <OBJECT> tags with JavaScript is a time-consuming
and sometimes frustrating experience. All the major companies have shipped video player
plug-ins for some time. Nevertheless, there is still no standardized set of properties and
methods that can be called up from JavaScript. A work-around solution can be manufac-
tured, but it requires extra JavaScript code to be written to wrap the plug-in APIs so that
they behave consistently with one another.
Coding an <EMBED> tag nested inside the error handling of an <OBJECT> tag is a
neat HTML trick. It will allow the browser to failover to the <EMBED> if the page is loaded
into a browser that does not support ActiveX <OBJECT> embedding.
Below is an example that will play a QuickTime movie through an ActiveX plug-in
in MSIE on Windows but that on all other browsers will play via the <EMBED> tag.
<OBJECT WIDTH=”120”
HEIGHT=”100”
CLASSID=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B”
CODEBASE=”http://www.apple.com/qtactivex/qtplugin.cab”>
<PARAM NAME=”src” VALUE=”MyMovie.mov”>
<PARAM NAME=”autoplay” VALUE=”true”>
<EMBED WIDTH=”120”
HEIGHT=”100”
SRC=”MyMovie.mov”
TYPE=”video/quicktime”
PLUGINSPAGE=”http://www.apple.com/quicktime/download/”>
</OBJECT>
More information on these techniques and some utilities is available at a number of
third-party web sites.
26.13
Windows XP Service Pack 2 Implications
There have been changes to Windows XP that are installed with Service Pack 2. These have
a major impact on web browser functionality, especially in the area of ActiveX controls,
which are now often blocked.
PAGEot: http://www.qtbridge.com/pageot/pageot.html
Qtilities: http://www.qtilities.com/
Adobe Go Live: http://www.adobe.com/golive/
Windows XP SP 2: http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/winxpsp2.mspx
MSIE browser changes: http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/
sp2brows.mspx
Search WWH ::




Custom Search