Hi everybody,
Finally got my site up and running, but i cant get the media player to play my video ("myvideo.wmv")
it works perfectly on my pc. Tearing my hair out!!! This is the code i am using:
<table border=0 width="800" cellpadding=15 bgcolor="black">
<tr>
<td width="500" height="400" Valign="middle"><br><OBJECT ID="MediaPlayer" WIDTH="400" HEIGHT="300" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="myvideo.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="myvideo.wmv" NAME="MediaPlayer"
WIDTH="400" HEIGHT="300" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
</td>
Thank you
Page 1 of 1
re:embedded win media player wont lay
#2
Posted 29 May 2009 - 01:26 AM
use that code for that...
<OBJECT id="VIDEO" width="320" height="240" style="position:absolute; left:0;top:0;" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="your file or url"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> <PARAM NAME="AutoStart" VALUE="True"> <PARAM name="uiMode" value="none"> <PARAM name="PlayCount" value="9999"> </OBJECT>
#3
Posted 29 May 2009 - 08:49 AM
@harish kumar, when you steal code from somewhere else, it is customary to give that site credit. In this case, the original code was from here:
http://forums.cubecart.com/index.php?showtopic=25875?read=1
It is shown again here:
http://stackoverflow.com/questions/760683/...r-into-web-page
http://www.mioplanet.com/rsc/embed_mediaplayer.htm
And in the subsequent discussion, you can see that there are problems with that code.
Please take the time to make sure that any code snippets you are providing actually work, and then make sure to credit where you got them from.
http://forums.cubecart.com/index.php?showtopic=25875?read=1
It is shown again here:
http://stackoverflow.com/questions/760683/...r-into-web-page
http://www.mioplanet.com/rsc/embed_mediaplayer.htm
And in the subsequent discussion, you can see that there are problems with that code.
Please take the time to make sure that any code snippets you are providing actually work, and then make sure to credit where you got them from.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens
Share this topic:
Page 1 of 1

Help

Back to top










