in video player, make sure poster is below loading icon
This commit is contained in:
parent
ceac7fa942
commit
36e3dcd264
1 changed files with 9 additions and 5 deletions
|
@ -467,15 +467,19 @@ Ox.VideoPlayer = function(options, self) {
|
|||
.attr({
|
||||
src: self.options.poster
|
||||
})
|
||||
.hide()
|
||||
.one({
|
||||
load: function() {
|
||||
self.$poster.css(getVideoCSS(
|
||||
self.$poster
|
||||
.css(getVideoCSS(
|
||||
self.$poster[0].width,
|
||||
self.$poster[0].height
|
||||
)).appendTo(self.$videoContainer);
|
||||
))
|
||||
.show();
|
||||
self.posterIsVisible = true;
|
||||
}
|
||||
});
|
||||
})
|
||||
.appendTo(self.$videoContainer);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue