merge
This commit is contained in:
commit
9c34b74621
1 changed files with 10 additions and 9 deletions
|
@ -10318,15 +10318,16 @@ requires
|
||||||
if (self.options.type == 'play') {
|
if (self.options.type == 'play') {
|
||||||
self.video.currentTime = self.options.position;
|
self.video.currentTime = self.options.position;
|
||||||
} else {
|
} else {
|
||||||
|
self.$loadingIcon && self.$loadingIcon.stop();
|
||||||
|
if (self.$video.attr('src') != self.options.url(self.options.position)) {
|
||||||
self.$loadingIcon = new Ox.LoadingIcon()
|
self.$loadingIcon = new Ox.LoadingIcon()
|
||||||
.appendTo(that)
|
.appendTo(that)
|
||||||
.start();
|
.start();
|
||||||
self.$video.attr({
|
self.$video.attr({
|
||||||
src: self.options.url(self.options.position)
|
src: self.options.url(self.options.position)
|
||||||
})
|
})
|
||||||
.one('load', function() {
|
.load(self.$loadingIcon.stop);
|
||||||
self.$loadingIcon.stop();
|
}
|
||||||
});
|
|
||||||
}
|
}
|
||||||
setMarkers();
|
setMarkers();
|
||||||
setSubtitle();
|
setSubtitle();
|
||||||
|
|
Loading…
Reference in a new issue