ketankshah
IS-IT--Management
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="MediaPlayer" WIDTH=350 HEIGHT=275
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="movie/<cfoutput>#filename#</cfoutput>">
<PARAM NAME="TransparentAtStart" Value="false">
<PARAM NAME="AnimationatStart" Value="false">
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="EnableTracker" VALUE="1">
<PARAM NAME="ShowPositionControls" VALUE="1">
<PARAM NAME="EnablePositionControls" VALUE="1">
<param name=WMode value=Opaque>
<EMBED TYPE="application/x-mplayer2"
SRC="C:\Program Files\Windows Media Components\SDK\Samples\Plugin\demo.asf"
NAME="MediaPlayer"
WIDTH=350
HEIGHT=275
transparentAtStart=0
animationAtStart=0
Showstatusbar=1
ShowPositionControls=1
EnablePositionControls=1
WMode="Opaque">
</EMBED>
</OBJECT>
=====================================
My script is as follows:
=====================================
<OBJECT ID="MediaPlayer" WIDTH=350 HEIGHT=275
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="movie/<cfoutput>#filename#</cfoutput>">
<PARAM NAME="TransparentAtStart" Value="false">
<PARAM NAME="AnimationatStart" Value="false">
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="EnableTracker" VALUE="1">
<PARAM NAME="ShowPositionControls" VALUE="1">
<PARAM NAME="EnablePositionControls" VALUE="1">
<param name=WMode value=Opaque>
<EMBED TYPE="application/x-mplayer2"
SRC="C:\Program Files\Windows Media Components\SDK\Samples\Plugin\demo.asf"
NAME="MediaPlayer"
WIDTH=350
HEIGHT=275
transparentAtStart=0
animationAtStart=0
Showstatusbar=1
ShowPositionControls=1
EnablePositionControls=1
WMode="Opaque">
</EMBED>
</OBJECT>
=====================================