Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


re:embedded win media player wont lay

  • Please log in to reply
2 replies to this topic

#1 roland5575


  • Members
  • 12 posts
  • Local time:03:31 PM

Posted 23 May 2009 - 03:01 PM

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">
<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>


Thank you

BC AdBot (Login to Remove)


#2 harish kumar

harish kumar

  • Members
  • 18 posts
  • Local time:02:01 AM

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;"
	<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">

#3 groovicus


  • Security Colleague
  • 9,963 posts
  • Gender:Male
  • Location:Centerville, SD
  • Local time:02:31 PM

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:

It is shown again here:

And in the subsequent discussion, you can see that there are problems with that code. :thumbsup:

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users