• Hello, I have an mp3 download of music on my site, and I was wondering if it is possible to get it to open the save as box for users like it would with a zip file, instead of opening it in a browser.

    I know right now they can just click ‘save target as’, but this could be confusing for people who want to download it because it would just open and they would get no dialouge box.

    Is there some sort of setting or script to do this? Also, I have heard that it is possible, but a bad idea because it may cause errors on some computers. Is this true, and is it a good idea to force a dialog box?

    Most computers open mp3 in browsers at this point. Here is my site to see an example: https://www.seanfanning.com/blog/ Actually, it opens differently depending on your own computer settings, this is why I am not sure if I should mess with it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • instead of uploading it as an .mp3 file, you could zip it. They download the zipped file, and then they can open it locally themselves.

    Thread Starter starvulture

    (@starvulture)

    Yeah, that’s a good idea. Its still one more step for them, though or a couple more. Pressing save target as would probably be easier, the only problem being that if people didn’t read the part where I said this, and didn’t know this (and most computer literate people know save target as, but some still don’t) then they would get very frustrated and leave the site. So I would have to decide whether to make it inconvienent with the .zipped mp3 or with the right click.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Add this to the top of your .htaccess file:

    AddType application/octet-stream .mp3

    And there you go.

    oo! that’s a good one!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is it possible to force an mp3 to download instead of open in the browser?’ is closed to new replies.