Embedding mpeg?

liunx

Guest
What is the right way to embed an mpeg movie in a webpage?<br />
<br />
I just want to have a simple page with one movie embedded in it, but I don't know what the code should be to embed it.<br />
<br />
My code at the moment says this...<br />
<br />
<br />
<embed src=http://www.webdeveloper.com/forum/archive/index.php/"mymovie.mpg" width="400" height="320"><br />
</embed><br />
<br />
<br />
but when this is viewed, it looks terrible....it sort of skips through it and only plays part...and gets to the end and stops. You have to move the time slider back to the beginning to get it to play again...and then it just plays what it has loaded so far and gets to the end and stops again.<br />
<br />
You can see what I mean if you go to this link and click on the bottom 4 animations ...<br />
<br />
<br />
Animation Samples (<!-- m --><a class="postlink" href="http://www.netcartoon.net/portfolio/animation.html">http://www.netcartoon.net/portfolio/animation.html</a><!-- m -->) <br />
<br />
How should I be embedding? I was hoping that it would start to play, and the time slider would move slowly along as it streamed the Download <!--more-->. I don't mind it pausing, but it should look like it is still in the middle when it pauses, rather than looking like the movie is just 3 seconds long.<br />
<br />
Hope that makes sense...anyone know how I should be doing this?<br />
<br />
Thanks<!--content-->This is what I do on my website to get a video playing by itself and maybe to repeat on its own (I think the repeating is only for music, not sure if it'll work with videos)<br />
<br />
<embed src=http://www.webdeveloper.com/forum/archive/index.php/"http://video.mpg" autoplay="true" loop="infinite" width="200" height="150"><br />
<br />
Hope it works :). <br />
<br />
Also, maybe you should change your settings around in you media player. Like change your connection speed and video buffering.<!--content-->
 
Back
Top