in video player, make sure poster is below loading icon

This commit is contained in:
rolux 2013-03-01 17:01:21 +05:30
parent ceac7fa942
commit 36e3dcd264

View file

@ -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);
}
/*