diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index 135d30df..ede2f481 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -1271,7 +1271,12 @@ Ox.VideoPlayer = function(options, self) { self.$timeline && self.$timeline.replaceWith( self.$timeline = getTimeline() ); - setPosition(self.$video.currentTime()); + if(self.loadedMetadata) { + setPosition(self.$video.currentTime()); + } else { + self.loadedMetadata = true; + setPosition(self.options.position); + } that.triggerEvent('durationchange', { duration: self.options.duration });