fix a bug where after playing in to out, the video position would be set to the very end of the video
This commit is contained in:
parent
abbfe33458
commit
b3ed2db267
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue