avoid flicker on load if no poster is set
This commit is contained in:
parent
1420ca914b
commit
d3fc02e344
1 changed files with 4 additions and 1 deletions
|
@ -289,7 +289,10 @@ Ox.VideoElement = function(options, self) {
|
|||
}
|
||||
self.video.volume = volume;
|
||||
self.video.muted = muted;
|
||||
self.$video.css(css).show();
|
||||
self.$video.css(css);
|
||||
onLoadedMetadata(self.$video, function() {
|
||||
self.$video.show();
|
||||
});
|
||||
!self.paused && self.video.play();
|
||||
Ox.Log('Video', 'sCV', self.video.src, item['in']);
|
||||
if (item['in']) {
|
||||
|
|
Loading…
Reference in a new issue