Forum Replies Created
That works. I can see what you did there. Instead of forcing the download, you’re just providing the URL link and then instructing the user to force the download themselves by right click and save as.
On our church’s website, we also use S3 for our mp3 files. There is no PHP magic happening in the background. What we’ve done is provide a button that says LISTEN ONLINE, which when clicked, opens up a new window and trusts that the users computer is going to know how to play the mp3 locally (either in the browser or via the media player). The other button is DOWNLOAD mp3, which when clicked, the download is forced.
In order to do this, we upload the sermon audio file twice to S3. One is normal. The other we add “dl” to the file name and change the HTTP header to Content:attachment (which forces the download). I know of no other way at the moment, how to provide both options with one file.
This works, though for this church. It’s functional. If we can figure out how to force the download later… that would be cool, too!
It didn’t work, Bill. It downloads a file called “mp3” and it contains 0 bytes 🙂
Yeah, since I’m hosting this client’s account on my VPS, I definitely don’t want them streaming mp3’s on my server 🙂
Never mind. Boy, the moment I submit a support request, I got it figured out. I discovered the default image in the “Select Gallery” area and then repeat it “both” directions – horizontally and vertically. Thanks anyway!!
That worked! Thanks, Bill!
I also learned something new about how the archives.php thing works by doing that… thanks!