Script For File Download?

Permalink
Hi Guys,

I'm not sure where to start so I figured with was a good forum to begin in. I'm hosting some podcast using one of the free HTML5 players in C5 for a friend. He's asking if there is a way to include a download link to the MP3. I put a link to download the file but in Chrome for example it starts playing in what I think is client side player?!

Is there any way to force a download of an MP3 file without it defaulting to play mode on someones browser?

Thanks
Jim

 
johnpaulb replied on at Permalink Reply
johnpaulb
Hello Jim,

I found this Add-On that simplifies the process of making downloadable files:
http://www.concrete5.org/marketplace/addons/digital-downloads/...

I hope this helps,
John-Paul
mnakalay replied on at Permalink Reply
mnakalay
Or if you know your way around PHP a bit you could do it yourself.
Check this pagehttp://www.concrete5.org/documentation/developers/files/helpers/...

Specifically look at the function
fh->forceDownload($file)
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
There is an addon for that! Check out "Simple Cast". It includes a "download" link of the podcast.

http://www.concrete5.org/marketplace/addons/simple-cast/...

Hope this helps.
JimMacMillan replied on at Permalink Reply
Thank you for all the responses. Since I'm not fluent in PHP and I like the "Simple Cast" option I'm thinking that that will work.

I watched the video but I don't see that the download function is demonstrated. I guess I contact the author for validation.

Again thank you
Jim