diff --git a/source/Ox.UI/js/Video/Ox.VideoElement.js b/source/Ox.UI/js/Video/Ox.VideoElement.js index 33f19715..790b89e6 100644 --- a/source/Ox.UI/js/Video/Ox.VideoElement.js +++ b/source/Ox.UI/js/Video/Ox.VideoElement.js @@ -122,7 +122,8 @@ Ox.VideoElement = function(options, self) { .css({position: 'absolute'}) .bind({ ended: function() { - if (i < self.parts - 1) { + Ox.print('ENDED', i, item.parts) + if (i < item.parts - 1) { setCurrentPart(self.currentPart + 1); self.video.play(); } /*else if (self.isPlaylist) {