From 155ada7992556da00fcb016024efa97b3b1d5c7f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 14 Jul 2013 15:26:37 +0000 Subject: [PATCH] no longer seeking on play --- source/Ox.UI/js/Video/VideoElement.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 1ed38b41..5bff36f0 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -239,6 +239,7 @@ Ox.VideoElement = function(options, self) { if (self.options.loop) { item = Ox.mod(item, self.numberOfItems); } else { + self.seeking = false; self.ended = true; self.paused = true; self.video && self.video.pause(); @@ -370,10 +371,10 @@ Ox.VideoElement = function(options, self) { @*/ that.currentTime = function() { var ret; - self.ended = false; if (arguments.length == 0) { ret = getCurrentTime(); } else { + self.ended = false; setCurrentTime(arguments[0]); ret = that; } @@ -422,6 +423,7 @@ Ox.VideoElement = function(options, self) { } self.ended = false; self.paused = false; + self.seeking = false; self.video.play(); return that; };