... initVideo : function(){ this.player = videojs('video'); this.player.playList(videos); this.player.one('lastVideoEnded',function(){this.player.playList(0);}) }, ...