Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Media Player in CF - Controls disabled

Status
Not open for further replies.

ketankshah

IS-IT--Management
Joined
Jan 11, 2001
Messages
121
Location
IN
I am using windows media player in my CF templates to run .asf movies. I have tried everything by changing different parameters in the OBJECT tag but my rewind/forward controls are not being enabled. I am using WMP on a IIS web server and not on a Windows Media Services Server. Could this be a problem? Or I need to change some specific settings?

My script is as follows:

=====================================
<OBJECT ID=&quot;MediaPlayer&quot; WIDTH=350 HEIGHT=275
CLASSID=&quot;CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95&quot;
STANDBY=&quot;Loading Windows Media Player components...&quot;
TYPE=&quot;application/x-oleobject&quot;>

<PARAM NAME=&quot;FileName&quot; VALUE=&quot;movie/<cfoutput>#filename#</cfoutput>&quot;>
<PARAM NAME=&quot;TransparentAtStart&quot; Value=&quot;false&quot;>
<PARAM NAME=&quot;AnimationatStart&quot; Value=&quot;false&quot;>
<PARAM NAME=&quot;ShowControls&quot; VALUE=&quot;1&quot;>
<PARAM NAME=&quot;ShowDisplay&quot; VALUE=&quot;0&quot;>
<PARAM NAME=&quot;ShowStatusBar&quot; VALUE=&quot;1&quot;>
<PARAM NAME=&quot;EnableTracker&quot; VALUE=&quot;1&quot;>
<PARAM NAME=&quot;ShowPositionControls&quot; VALUE=&quot;1&quot;>
<PARAM NAME=&quot;EnablePositionControls&quot; VALUE=&quot;1&quot;>
<param name=WMode value=Opaque>
<EMBED TYPE=&quot;application/x-mplayer2&quot;
SRC=&quot;C:\Program Files\Windows Media Components\SDK\Samples\Plugin\demo.asf&quot;
NAME=&quot;MediaPlayer&quot;
WIDTH=350
HEIGHT=275
transparentAtStart=0
animationAtStart=0
Showstatusbar=1
ShowPositionControls=1
EnablePositionControls=1
WMode=&quot;Opaque&quot;>
</EMBED>
</OBJECT>
=====================================
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top