- This topic is empty.
December 14, 2012 at 2:28 pm #41345
I m creating a religious website and wanted to give the visitors the option to Play and Download the religious songs. http://www.ourshiaislam.com/nauhay/ . I m using the download and the play link from the other website(with permission). When you click the PLAY button the song starts playing in a small window like I had setup however when you click on DOWNLOAD NOW button the download doesn’t begin unless you have IDM or any download manager. Download manager do the download from the link very well but without the download manager the downloading doesn’t start and the link opens a different page where the audio starts playing. How do I give the visitors the option to download? here is one of the link to download http://shiadownload.com/save.php?s=1&save=6603December 14, 2012 at 3:37 pm #117464AnonymousInactive
You could either zip the mp3 and serve that as the link or give people instruction to right click and save as.December 14, 2012 at 7:58 pm #117487
I would just use htaccess for this as stated by @kevin11189.
AddType application/octet-stream .mp3December 14, 2012 at 11:22 pm #117499
I dont have access to the server because the download link is of another website. So I think I would just write an instruction to do “Save link as” or probably do onclick=”alert(”)”. But I have another website where I have the same problem so I will add AddType application/octet-stream .mp3 there. Thank you all , it was helpfullDecember 14, 2012 at 11:28 pm #117500
@sayedtaqui You can use the ‘download’ attribute in HTML5.
See here: http://jsfiddle.net/UpYKPDecember 15, 2012 at 12:07 am #117501
Wow chriburton, thank you very much, you showed up as an angel and solved the whole issue . God bless you.December 15, 2012 at 2:24 am #117504MaxnMember
just right click on link..go to SAVE link..then it will start download..December 15, 2012 at 1:03 pm #117535
The download link is starting to download great in Chrome however doesn’t work at all in mozilla or IE. what do I do ? If I keep it is as a hyperlink , visitors can right click and do “Save link as” however the button doesn’t do anything. I dont want to remove the button from there.December 15, 2012 at 1:33 pm #117536
- The forum ‘Other’ is closed to new topics and replies.