vaishaliyp Posted May 29, 2006 Share Posted May 29, 2006 Is it possible to play .mpeg file using embed & object tag?If anyone can help me please reply soon.Thanks in advance. Link to comment Share on other sites More sharing options...
real_illusions Posted May 29, 2006 Share Posted May 29, 2006 yephttp://cit.ucsf.edu/embedmedia/step1.phptry that:) Link to comment Share on other sites More sharing options...
vaishaliyp Posted May 30, 2006 Author Share Posted May 30, 2006 quote=real_illusions,May 30 2006, 02:35 AM]yephttp://cit.ucsf.edu/embedmedia/step1.phptry that:) <{POST_SNAPBACK}> 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 More sharing options...
real_illusions Posted May 30, 2006 Share Posted May 30, 2006 does it work or not?have you tried it? Link to comment Share on other sites More sharing options...
vaishaliyp Posted May 30, 2006 Author Share Posted May 30, 2006 does it work or not?have you tried it?<{POST_SNAPBACK}> yes i have tried it. It doen't work.Is anything wrong with my code. Link to comment Share on other sites More sharing options...
real_illusions Posted May 30, 2006 Share Posted May 30, 2006 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 More sharing options...
vaishaliyp Posted May 31, 2006 Author Share Posted May 31, 2006 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.<{POST_SNAPBACK}> 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 More sharing options...
real_illusions Posted May 31, 2006 Share Posted May 31, 2006 i think the latest media player is 10 or something..i've heard about 11 coming out soon.d/l the latest one, then try it. Link to comment Share on other sites More sharing options...
jibo Posted May 31, 2006 Share Posted May 31, 2006 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 More sharing options...
vaishaliyp Posted June 8, 2006 Author Share Posted June 8, 2006 i think the latest media player is 10 or something..i've heard about 11 coming out soon.d/l the latest one, then try it.<{POST_SNAPBACK}> Thank you,Thanks alot. That was media player version problem only.I installed media player 9 and the code is working now.Thanks once again. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now