Results 1 to 2 of 2

Thread: Mpeg question

  1. #1

    Thread Starter
    Hyperactive Member Stiletto's Avatar
    Join Date
    Aug 2002
    Location
    Jerusalem, Israel
    Posts
    287

    Mpeg question

    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

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    I think you should be able to do it with object:

    Code:
    <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:

    Code:
    <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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width