Jump to content

allow download of mp3 file


Recommended Posts

My website is here: https://futurebeacon.com

On that front page source I have a code that looks like this:

<a href="https://www.futurebeacon.com/00Music/JA2.mp3" class = link_style1>More Music by James Adrian</a>

It sends the website visitor to this location:


The music in the file JA2.mp3 immediately begins playing.  This is what I want it to do.

I am trying to also allow the visitor to download the file from the page that plays the music and I have been searchings for instructions to do that in such a way that the file does not play music but downloads the file.

All the instructions I have read would have me use the same code that I am currently using to play the music.  I can't see a difference.

Please tell me what I am missing.

Thank you for your help.


Jim Adrian






Link to comment
Share on other sites


Thank you for this link.

I am using html 5 and my browser is Safari 11.1.2 which is higher than 10.

The source code I am using is this:


<a href="https://www.futurebeacon.com/00Music/JA2.mp3 download>Download Music
<img src="https://www.futurebeacon.com/00Music/JA2.mp3"></a>

It is on my front page.  I does not work and "Download Music" does not get rendered for the visitor.

Can you help me find out what is going wrong?

Thank you for your help.


Jim Adrian




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...