dont start playing if paused and hitting next

This commit is contained in:
j 2013-07-14 19:15:56 +00:00
parent f472dfb022
commit 41f37fee36

View file

@ -1696,8 +1696,17 @@ Ox.VideoPlayer = function(options, self) {
}
if (Ox.isUndefined(next)) {
next = direction == 1 ? self.options.duration : 0;
if (self.options.loop && next == 0) {
next = points.slice(-2)[0];
}
}
if (self.options.loop && next == self.options.duration) {
next = 0;
}
setPosition(next);
that.triggerEvent('position', {
position: self.options.position
});
}
function goToNextResult(direction) {