Click to See Complete Forum and Search --> : Windows Media Player


Master_dude
07-24-2006, 07:49 PM
I would like to know how 2 add windows media play in my site with the buttons (play, stop, ect.) I dont know how to do that!?! Please help me.

matty_y2002
07-26-2006, 11:45 AM
try this...
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>

but replace the value in Value with the url of where your file is located :)

Master_dude
08-15-2006, 12:30 PM
try this...

<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>


but replace the value in Value with the url of where your file is located :)

Hey thanks

kipp
11-02-2007, 09:55 AM
So, if I have the code to play my WMV file, is there a were to not have the player show up on the current page, but just have a link and then when that link is clicked on the media player opens up in a new window and begins playing?

Please Help... Newbie..

Kipp