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

How to force download on jwplayer 8?

When I click on download button on Chrome, the mp4 is opening in new page and isn't start the automatic download.
The script that I use is : window.location.href = player.getPlaylistItem()['file'];

1 Community Answers


JW Player Support Agent  
0 rated :

Hi, there.

Can you please supply a link to a reproduction page so we can take a look at your issue? I would like to see if I can find a workaround.

Thank you.

This question has received the maximum number of answers.