Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JW Player download button

Solution for those wishing do add a download button when using an RSS playlist.
Thanks to James Herrieven for helping me solve this (

2 Community Answers


0 rated :

This solution requires a path to an http video file (Apache/hls streaming folder, etc):
1. RSS playlist parameter: add a <jwplayer:downloadfile> parameter to each playlist item in the RSS playlist. For example, <jwplayer:downloadfile>http://pathtofile/</jwplayer:downloadfile>

2. Add a download button to get the file specified in the downloadfile paramter:
"Download Video",
function() {
window.location.href = jwplayer().getPlaylistItem()['downloadfile'];

Safari: the file opens in a new window. The user can then save the file by going to File > Save As (Format > Page source option).

Chrome: file automatically starts downloading.

Many thanks to James Herrieven for helping me figure this out.

Cooper Reid

JW Player Support Agent  
0 rated :

Very nice, elegant solution!

This question has received the maximum number of answers.