Download Candidates Night Video
var player = jwplayer('https://content.jwplatform.com/libraries/u0tLUH0f.js');
player.setup({ file: "//content.jwplatform.com/videos/tekuHLpu-Rvh0xH36.mp4", image: "//content.jwplatform.com/thumbs/tekuHLpu-480.jpg" });
player.addButton( //This portion is what designates the graphic used for the button "//icons.jwplayer.com/icons/white/download.svg", //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 = player.getPlaylistItem()['http://content.jwplatform.com/videos/tekuHLpu-Rvh0xH36.mp4']; }, //And finally, here we set the unique ID of the button itself. "download" );