diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 8f5dde39..e08588b2 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -290,14 +290,22 @@ Ox.VideoElement = function(options, self) { self.video.volume = volume; self.video.muted = muted; self.$video.css(css); - onLoadedMetadata(self.$video, function() { - self.$video.show(); - }); !self.paused && self.video.play(); Ox.Log('Video', 'sCV', self.video.src, item['in']); if (item['in']) { setCurrentItemTime(item['in']); } + if (self.video.seeking || item['in'] != self.video.currentTime) { + self.seeking = true; + self.$video.one('seeked', function() { + self.seeking = false; + self.$video.show(); + }) + } else { + onLoadedMetadata(self.$video, function() { + self.$video.show(); + }); + } loadNextVideo(); } diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index 1f2bb671..c9abb306 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -1795,7 +1795,7 @@ Ox.VideoPlayer = function(options, self) { } function hidePoster() { - if (self.posterIsVisible) { + if (self.loadedMetadata && self.posterIsVisible) { self.$poster.animate({ opacity: 0 }, 250);