
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>