1.

Solve : MPEG2 help?

Answer»

I have an mpeg2 Video FILE and I need the HTML Code to place it on my Web Site.

Can anyone just give me the code??How about uploading it to Youtube or something and embedding it to your website?I can make a link to the video on You Tube.

But I want the HTMLK Code so when people come to my web site they can see it play.

I did this befor but I lost the code???This is all you need - the regular embed-object - and maybe centered by you if you want to suit.

http://www.youtube.com/v/*********">  http://www.youtube.com/v/*********" type="application/x-shockwave-flash" width="425" height="350">

replace the ******* with the code of the vid you WISH to access and play (the numbers and letters group).

YouTube does in fact give this next to most vids on their site.Thanks I will try what you just told me.

But is there a code to embed video right into the web page. My Server will let me upload my video files to them.

I know how to embed music to auto play is there a code to embed video right onto the web site without it going to say You Tube to get it???
ThanksHmmm - I have not tried this with  flash movies ...... but as an experiment substitute your uploaded vid file name within the code - but it'll need to be converted to flv.  No idea if it will function ...

Code: [Select]<object width="425" height="350"> <param name="movie" value="http://www.yoursite.com/yourvideo"<embed src="http://www.yoursite.com/yourvideo" type="application/x-shockwave-flash" width="425" height="350"> </embed> </object>

If you had a wmv then this code in IE would function for you - but only in IE due to activeX factors.

Code: [Select]<OBJECT ID="MediaPlayer" WIDTH="425" HEIGHT="350" 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="http://www.yoursite.com/yourvideo.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM NAME="DefaultFrame" VALUE="Slide">
<EMBED TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/download/default.asp" SRC="http://www.yoursite.com/yourvideo.wmv" NAME="MediaPlayer"
WIDTH="425" HEIGHT="350" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0" DefaultFrame="Slide"> </EMBED>
</OBJECT>
I have not tried embedding an MPG file at all.

One other code chunk for an .flv ...... bear in mind this is one I used for a wide screen movie which is why dimensions are as they are - again might be worth experimenting with your own domain and vidfile included if flv.

Code: [Select]<embed height="240" width="425" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://www.yoursite.com/yourvideo" play="true" loop="true" MENU="true"></embed>
There are a few media converters around - so you could maybe consider converting your current file to a more useful format for embedding.

Do some web searches - there is quite a bit of info out there.



Discussion

No Comment Found