How do I Code an HTML Page to Download an MP3 Instead of Stream?

Avatar
  • updated
  • Answered

How do I code the html page to download an mp3 to the user and not stream it?

Avatar
Chris M
  • Answered

You can add a "download" attribute to a link. For example:

<a href="/file.mp3" download=""></a>