html5 - How to assign a filename to a direct .mp3 download? -


first of all, let me state have pretty 0 knowledge of code. own http://www.cultureleak.com , i'm changing way people can download off site.

i have direct .mp3 links (f.e. http://dopefile.pk/mp3embed-74bktdjz1web.mp3) , when click them save audio.mp3 (audio1.mp3, audio2mp3 etc). want assign them filename. tried doing via html5 download attribute.

i can't work (and it's not browser related). ideas/is possible give link assigned name?

just use downloadattribute name file (not download) (click here)

<a href="audio/youraudio.mp3" download="youraudioname.mp3">download</a> 

Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

C++ Program To Find Smallest and Largest Number In Array -

java - How to put two numbers separated by a space into two different arrays -