![](https://secure.gravatar.com/avatar/180d0cd38b37fde5ffb83a6c61fecfcf?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
add download button
Hi,
Is it posible
<script type="text/javascript">
jwplayer().addButton(
//This portion is what designates the graphic used for the button
"/uploads/myButton.png",
//This portion determines the text that appears as a tooltip
"Download Video",
//This portion designates the functionality of the button itself
function() {
//With the below code, we're grabbing the file that's currently playing
window.location.href = jwplayer().getPlaylistItem()['http:\\domain.com\archive\video.mp4'];
},
//And finally, here we set the unique ID of the button itself.
"download");
</script>