Forum Moderators: mack

Message Too Old, No Replies

Link to play mp3

         

graeme

2:59 pm on Dec 3, 2003 (gmt 0)

10+ Year Member



Hi
I've got an mpg file that I want to be able to have available via a link on a site, so someone can click on the link to download the mpg and view it.

I created a link that downloads the mpg fine, but when it finishes nothing happens. I have Windows Media Player but it doesn't start. Is there something I need to put in the coding to get it started automatically?

My current code is <a href="MAZ_0001.MPG">Click here</a>. Is there something else I need to put in?

Any info much appreciated.
Cheers
Graeme

richardb

4:24 pm on Dec 3, 2003 (gmt 0)

10+ Year Member



Hi G

In order for a file to "do something" it needs to be associated with an application on the users PC.

If you want the user to download leave intructions for them to right click the file and "save as"...

Rich

JamesR

10:05 pm on Dec 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check out some other sites that offer that and take a look at what they are doing in the source code.