Jump to content

play mpeg on web page


vaishaliyp

Recommended Posts

quote=real_illusions,May 30 2006, 02:35 AM]yephttp://cit.ucsf.edu/embedmedia/step1.phptry that:)

I have used the following code which i refered from the site you suggested to me.Do i m doing anything wrong.Please help me.Thank you.

<OBJECT id='mediaPlayer' width="320" height="285"       classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'       codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'      standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>      <param name='fileName' value="video/Doctor.mpeg">      <param name='animationatStart' value='true'>      <param name='transparentatStart' value='true'>      <param name='autoStart' value="true">      <param name='showControls' value="true">      <param name='loop' value="true">      <EMBED type='application/x-mplayer2'        pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'        id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'         bgcolor='darkblue' showcontrols="true" showtracker='-1'         showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"        src="video/Doctor.mpeg" autostart="true" designtimesp='5311' loop="true">      </EMBED>      </OBJECT>

Link to comment
Share on other sites

ok..is the file the right name? It is case sensitive. right folder? right dimensions?if you copied/pasted the code from the site i linked to, it should work.Or, you haven't got that version of windows media player installed.

Link to comment
Share on other sites

ok..is the file the right name? It is case sensitive. right folder? right dimensions?if you copied/pasted the code from the site i linked to, it should work.Or, you haven't got that version of windows media player installed.

Yes, i have cheked filename and path. There is nothing wrong with the file name.I have copied / pasted the code from the site.I have Window Media player 7 installed on my computer.Thank you
Link to comment
Share on other sites

hi i was having the same problem.... try this code <object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="298" height="250" id="MediaPlayer" type="application/x-oleobject"><param name="FileName" value="PUT YA VIDEO LINK IN ERE!!!"><param name="autostart" value="0"><param name="showcontrols" value="1"><param name="loop" value="1"><embed src="PUT UR VIDEO LINK IN ERE!!!" width="298" height="250" type="application/x-mplayer2" autostart="0" showcontrols="0"></embed>it works 4 me :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...