fix loading icons for in/out point players
This commit is contained in:
parent
07b72cca23
commit
b41a9c3986
|
@ -10318,15 +10318,16 @@ requires
|
|||
if (self.options.type == 'play') {
|
||||
self.video.currentTime = self.options.position;
|
||||
} else {
|
||||
self.$loadingIcon = new Ox.LoadingIcon()
|
||||
.appendTo(that)
|
||||
.start();
|
||||
self.$video.attr({
|
||||
src: self.options.url(self.options.position)
|
||||
})
|
||||
.one('load', function() {
|
||||
self.$loadingIcon.stop();
|
||||
});
|
||||
self.$loadingIcon && self.$loadingIcon.stop();
|
||||
if (self.$video.attr('src') != self.options.url(self.options.position)) {
|
||||
self.$loadingIcon = new Ox.LoadingIcon()
|
||||
.appendTo(that)
|
||||
.start();
|
||||
self.$video.attr({
|
||||
src: self.options.url(self.options.position)
|
||||
})
|
||||
.load(self.$loadingIcon.stop);
|
||||
}
|
||||
}
|
||||
setMarkers();
|
||||
setSubtitle();
|
||||
|
|
Loading…
Reference in New Issue
Block a user