Click to See Complete Forum and Search --> : Mpeg question
Stiletto
Sep 22nd, 2002, 07:24 PM
Sup,
I got a Mpeg, 15 secs long, and I wanna put it in my site.
How can I put it in my site so the visitors can see it (like flash or something) without downloading the file first?
tnx
Rick Bull
Sep 23rd, 2002, 03:06 PM
I think you should be able to do it with object:
<object type="video/mpg" data"FILE.mpg">
Your browser can't display this movie.
The file that is supposed to be here is
<a href="FILE.mpg">FILE.mpg</a>.
</object>
Although that needs a plug-in for the browser to show it, and seems to have problems - I think you may need to add a <param> in there too. The other (non-standard) way is to use embed (which you could put inside the object tag instead of the error message. I think it's used something like this:
<embed src="FILE.mpg"></embed>
<noembed>
Your browser can't display this movie.
The file that is supposed to be here is
<a href="FILE.mpg">FILE.mpg</a>.
</noembed>
I didn't have much luck getting either of them to work :(
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.