Make Download Button Actually Download File
I added a download button but what I was expecting it to do was actually download the file playing to the user's device. Instead, it just refreshes the player to the source file (I guess that's how to word it?). This seems like an obvious feature, so I'm baffled as to why it seems so convoluted to make it function.
The player in question is located here directly under "Current Sermon"
//Link to the actual file below:
window.location.href = 'http://content.jwplatform.com/videos/l9aqB9m4-EnqDUKfa.m4a';
//This portion is what designates the graphic used for the button
//This portion determines the text that appears as a tooltip
//This portion designates the functionality of the button itself
//With the below code, we're grabbing the file that's currently playing
window.location.href = 'http://www.stephaniequinn.com/Music/Allegro%20from%20Duet%20in%20C%20Major.mp3'; //This si the file I'd like the person to download
//And finally, here we set the unique ID of the button itself.