Your code seems to work.
jwplayer("container").setup({
playlist: "http://content.jwplatform.com/feeds/13ShtP5m.rss",
displaytitle: false,
width: 640,
height: 360
});
jwplayer().onComplete(function(e) {
var videoURL = this.getPlaylistItem().file;
console.log('Completed = ' + videoURL);
});
See this example:
http://jsfiddle.net/rDs4P/
If it still does not work, indicate the link in which you will launch the player.
source
share