Embedding MPG file into frontpage 03

T

TonnyD

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?
 
M

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.
 
T

TonnyD

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






- Show quoted text -

I downloaded the Windows Media Player 9 Series and 10 Series Add-in
for Microsoft FrontPage and i tried to use it to input a video. Both
mpg and wmv. When i publish the sight, the media player says ready
then when i click play it says connecting to media then ready again.
It will do that every time I click play. Is this because im using the
wrong player or because godaddy does not support streaming video?
 
T

TonnyD

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






- 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.
 
M

Mike Mueller

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top