diff --git a/static/mobile/js/VideoElement.js b/static/mobile/js/VideoElement.js index 9abe27d9..31fbcb8e 100644 --- a/static/mobile/js/VideoElement.js +++ b/static/mobile/js/VideoElement.js @@ -511,7 +511,6 @@ window.VideoElement = function(options) { } function setCurrentItemTime(currentTime) { - currentTime += self.options["in"] debug('Video', 'sCIT', currentTime, self.video.currentTime, 'delta', currentTime - self.video.currentTime); isReady(self.video, function(video) { @@ -532,6 +531,10 @@ window.VideoElement = function(options) { function setCurrentTime(time) { debug('Video', 'sCT', time); + if (self.options["in"]) { + debug('Video', 'sCT shift time by', self.options["in"], 'to', time); + time += self.options["in"] + } var currentTime, currentItem; self.items.forEach(function(item, i) { if (time >= item.position