![](https://secure.gravatar.com/avatar/6a0c56979e6e3d840732f6ea3bbf7c0e?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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'];
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'];
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.