Discussion Forums HTML , XML , JavaScript ...
Software Reviews Editors ,Others ...
Top100 JavaScript Tutorials , ...
Tutorials ASP , CSS , Databases ...
Discussion List FAQ , Roundup , Configure ...
Authoring HTML , JavaScript , CSS ...
Design Layout , Navigation ,...
Graphics Tools , Colors , Images ...
Software Browsers , Editors , XML ...
Internet Domains , E-Commerce , ...
WDVL Resources Intermdiate, Tutorials ,...
WDVL Discussion Lists , Top 100 ,...
Technology Jobs
Parameters - Page 4
May 7, 2001
This is all you need in order to do a simple embed of Windows
Media into a Web page and have it playback in Internet Explorer
or Netscape. However, Microsoft offers many other parameters.
There are too many to explain in the course of this article, but
I've listed some of them below and the parameter names are fairly
self-explanatory. Full details on the parameters can be found at
Windows Media SDK .
<OBJECT
ID="MediaPlayer" classid="CLSID:22d6f312
-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE= "http://activex.microsoft.com/activex/
controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
width=160 height=120 standby="Loading Microsoft Windows
Media Player components..."
type="application/x-oleobject">
<PARAM NAME="AudioStream" VALUE="-1">
<PARAM NAME="AutoSize" VALUE="-1">
<PARAM NAME="AutoStart" VALUE="0">
<PARAM NAME="AnimationAtStart" VALUE="-1">
<PARAM NAME="AllowScan" VALUE="-1">
<PARAM NAME="AllowChangeDisplaySize" VALUE="-1">
<PARAM NAME="AutoRewind" VALUE="0">
<PARAM NAME="Balance" VALUE="10">
<PARAM NAME="BaseURL" VALUE="">
<PARAM NAME="BufferingTime" VALUE="5">
<PARAM NAME="CaptioningID" VALUE="">
<PARAM NAME="ClickToPlay" VALUE="-1">
<PARAM NAME="CursorType" VALUE="0">
<PARAM NAME="CurrentPosition" VALUE="-1">
<PARAM NAME="CurrentMarker" VALUE="0">
<PARAM NAME="DefaultFrame" VALUE="">
<PARAM NAME="DisplayBackColor" VALUE="65535">
<PARAM NAME="DisplayForeColor" VALUE="16744448">
<PARAM NAME="DisplayMode" VALUE="0">
<PARAM NAME="DisplaySize" VALUE="2">
<PARAM NAME="Enabled" VALUE="-1">
<PARAM NAME="EnableContextMenu" VALUE="-1">
<PARAM NAME="EnablePositionControls" VALUE="-1">
<PARAM NAME="EnableFullScreenControls" VALUE="0">
<PARAM NAME="EnableTracker" VALUE="-1">
<PARAM NAME="Filename" VALUE="yourfile.asx">
<PARAM NAME="InvokeURLs" VALUE="-1">
<PARAM NAME="Language" VALUE="-1">
<PARAM NAME="Mute" VALUE="0">
<PARAM NAME="PlayCount" VALUE="1">
<PARAM NAME="PreviewMode" VALUE="0">
<PARAM NAME="Rate" VALUE="1">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMIFileName" VALUE="">
<PARAM NAME="SelectionStart" VALUE="-1">
<PARAM NAME="SelectionEnd" VALUE="-1">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="-1">
<PARAM NAME="SendWarningEvents" VALUE="-1">
<PARAM NAME="SendErrorEvents" VALUE="-1">
<PARAM NAME="SendKeyboardEvents" VALUE="0">
<PARAM NAME="SendMouseClickEvents" VALUE="0">
<PARAM NAME="SendMouseMoveEvents" VALUE="0">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="-1">
<PARAM NAME="ShowCaptioning" VALUE="0">
<PARAM NAME="ShowControls" VALUE="-1">
<PARAM NAME="ShowAudioControls" VALUE="-1">
<PARAM NAME="ShowDisplay" VALUE="-1">
<PARAM NAME="ShowGotoBar" VALUE="0">
<PARAM NAME="ShowPositionControls" VALUE="-1">
<PARAM NAME="ShowStatusBar" VALUE="-1">
<PARAM NAME="ShowTracker" VALUE="-1">
<PARAM NAME="TransparentAtStart" VALUE="0">
<PARAM NAME="VideoBorderWidth" VALUE="5">
<PARAM NAME="VideoBorderColor" VALUE="4227327">
<PARAM NAME="VideoBorder3D" VALUE="0">
<PARAM NAME="Volume" VALUE="-150">
<PARAM NAME="WindowlessVideo" VALUE="0">
</OBJECT>
[Lines 2 and 3 above are one line as are lines 4-8. They have
been split for formatting purposes. ]
Conclusion
Microsoft has made it very easy to launch Windows Media in the
standalone Windows Media Player or to embed the video in a Web
page. While stand-alone video can be useful, the true value
comes when the video is embedded in a Web page and can be
surrounded by supporting material that takes video from being an
independent media type to being part of a video application. In
the next article, I will show you how to further integrate
Windows Media into an application so the video and the
surrounding material can truly interact.
Embedding Video in a Web Page - Page 3
Windows Media Playback in a Web Page