Playing a local mpeg file from a local HTML file...

Discussion in 'HTML' started by Lyndon, Jul 25, 2005.

  1. Lyndon

    Lyndon Guest

    Hi guys,

    I've got a problem... I'm developing a webpage on my computer and I
    can't get the links to my MPEG movies to work. I want them to launch
    in a Windows Media Player. This is my code...

    <TD vAlign=top align=left><BR><A HREF="view_files/movie1.mpg"><IMG
    SRC="view_files/movie1_logo.jpg" border="0"></A></TD>

    I've checked code on other websites (running on webservers) and it's
    the same. If I right click on the file and choose "save as" I can save
    the file to another location on my hard drive so the link is true, but
    when I click on the link Windows Media Player does not launch playing
    the movie. Can someone give me some help with this.

    Thanks in advance.
    Lyndon.
     
    Lyndon, Jul 25, 2005
    #1
    1. Advertising

  2. In article <>,
    "Lyndon" <> wrote:

    > <TD vAlign=top align=left><BR><A HREF="view_files/movie1.mpg"><IMG
    > SRC="view_files/movie1_logo.jpg" border="0"></A></TD>


    CSS would really help you to trim that up a bit before you went live.

    > I've checked code on other websites (running on webservers) and it's
    > the same.


    You really need a webserver on your PC to emulate what will happen on
    the web. Of course, this is a web issue or your question would be
    off-topic.

    > If I right click on the file and choose "save as" I can save
    > the file to another location on my hard drive so the link is true,


    Well, the link isn't true. You're simply clicking on a file and moving
    it. It has nothing to do with your HTML.

    > but
    > when I click on the link Windows Media Player does not launch playing
    > the movie. Can someone give me some help with this.


    I'm completely out of my league here. I don't use a PC. But would
    "view_files/movie1.mpg" be inappropriate for your PC. Doesn't Windows
    use the "\" delimiter between files on your own PC?

    leo

    --
    <http://web0.greatbasin.net/~leo/
     
    Leonard Blaisdell, Jul 25, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Edward Lin

    How to Play Mpeg file?

    Edward Lin, Feb 19, 2004, in forum: C++
    Replies:
    1
    Views:
    485
    John Harrison
    Feb 19, 2004
  2. Kilian A. Foth
    Replies:
    7
    Views:
    492
    Kilian A. Foth
    Sep 29, 2005
  3. daokfella
    Replies:
    1
    Views:
    488
    Alexey Smirnov
    Feb 20, 2007
  4. Replies:
    1
    Views:
    806
    mlimber
    Sep 11, 2006
  5. notherand

    can i add mpeg file in JFrame?

    notherand, Jan 22, 2008, in forum: Java
    Replies:
    0
    Views:
    395
    notherand
    Jan 22, 2008
Loading...

Share This Page