always set seeking=false

This commit is contained in:
j 2017-12-30 16:25:55 +01:00
parent de72a11364
commit d136d4b303

View file

@ -363,6 +363,7 @@ Ox.VideoElement = function(options, self) {
function ready() { function ready() {
Ox.Log('Video', 'sCV', 'ready'); Ox.Log('Video', 'sCV', 'ready');
self.seeking = false;
self.loading = false; self.loading = false;
self.video.muted = muted; self.video.muted = muted;
!self.paused && self.video.play(); !self.paused && self.video.play();
@ -372,7 +373,6 @@ Ox.VideoElement = function(options, self) {
} }
if (video.currentTime == in_) { if (video.currentTime == in_) {
Ox.Log('Video', 'sCV', 'already at position'); Ox.Log('Video', 'sCV', 'already at position');
self.seeking = false;
ready(); ready();
} else { } else {
self.$video.one('seeked', function() { self.$video.one('seeked', function() {