diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index 55dccc07..93057161 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -1559,12 +1559,12 @@ Ox.VideoPlayer = function(options, self) { self.$video.playNext(); } else { togglePaused(); - self.playInToOut = false; if (self.options.rewind) { rewind(); } else { setPosition(self.playInToOut ? self.options.out : self.out/*, 'video'*/); } + self.playInToOut = false; //ended(); that.triggerEvent('ended'); }