G
Guest
Hello,
I want to create a hyperlink to let users download MP3's when they click.
The default behavior is to play. I know they can right-click and save as,
but I don't want to have to tell them that. I also have a MP3 player already
playing on the page.
One googled solution was to zip the file so when the user clicks the zip
file,
the browser would do a open/save as dialog. This almost works - but
the user has to download the zip and then extract the file. I would also
have
to have a "zip" file for each and every MP3 file. Seems a bit bloated...
I want to be able to download the file on click and bypass the play option
that the browser/user may have installed. I played around with the 'type'
attribute but no luck----
<a type="zip" href="peoplegetready.mp3" target="_blank">people get ready</a>
I don't want to do FTP and expose user/passwords, etc.
Anyone do anything similar like this?
Thanks in advance.
Regards,
bruce
I want to create a hyperlink to let users download MP3's when they click.
The default behavior is to play. I know they can right-click and save as,
but I don't want to have to tell them that. I also have a MP3 player already
playing on the page.
One googled solution was to zip the file so when the user clicks the zip
file,
the browser would do a open/save as dialog. This almost works - but
the user has to download the zip and then extract the file. I would also
have
to have a "zip" file for each and every MP3 file. Seems a bit bloated...
I want to be able to download the file on click and bypass the play option
that the browser/user may have installed. I played around with the 'type'
attribute but no luck----
<a type="zip" href="peoplegetready.mp3" target="_blank">people get ready</a>
I don't want to do FTP and expose user/passwords, etc.
Anyone do anything similar like this?
Thanks in advance.
Regards,
bruce