var player = jwplayer('player');
//This portion is what designates the graphic used for the button
//This portion determines the text that appears as a tooltip
//This portion designates the functionality of the button itself
//With the below code, we're grabbing the file that's currently playing
window.location.href = player.getPlaylistItem()['file'];
//And finally, here we set the unique ID of the button itself.