: On May 23, 5:14 pm, "Mark Fitzpatrick"
: > You don't embed a video file, you embed a player. The
AVI works because it's
: > an older format and easier to embed. Usually people
don't embed MPG movies
: > into a browser, they usually embed a windows media
video, quicktime movie,
: > realvideo, or flash video file. Actually, what you're
doing is embedding the
: > appropriate player and passing the url to the file as a
parameter to the
: > player. Your best is to convert the video into something
that will stream
: > nicely, then embed the appropriate player. If you go to
the FrontPage
: > add-ins web site you'll find a windows media player
add-in that will easily
: > embed wmv files into a web page. Other formats need more
hand-coding but are
: > mostly a copy and paste of code.
: >
: > --
: > Hope this helps,
: > Mark Fitzpatrick
: > Former Microsoft FrontPage MVP 199?-2006
: >
: >
: >
: >
: >
: >
: > >I am using godaddy and I know they dont support
streaming video. So I
: > > am trying to embed my MPG video files by clicking
insert picture
: > > etc... But the video does not work. It does not work
on the site or
: > > when previewed. It acts like i gave the wrong address
for the video.
: > > What confuses me is that when i embedded a AVI file it
worked, but i
: > > cant be using those since they are so big. Does any
one have any ideas?- Hide quoted text -
: >
: > - Show quoted text -
:
: I figured it out. For some reason it could not find the
actual video
: file. It does not really make since, but I had to use the
actual link
: to the video on the server. Which sucks because i have to
re publish
: the video it creates and deletes the old one. Also mpg
does not work
: on this player ill have to convert all videos to wmv.
********************************************************
The following code works prety much with all media types,
you just need to change the height and width attributes,
along with the content-type to reflect the mime type for the
content-you can even use the object ag for images.
That said; I would recommend changing to WMV anyways, as
different browsers will not always play the content with the
desired media player.
<object type="video/mpeg" data="sample.mpg" width="352"
height="240">
<param name="src" value="sample.mpg" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
</object>