1
0
Fork 0
forked from 0x2620/oxjs

avoid shoing first frame if seeking inside VideoElement

This commit is contained in:
j 2014-02-08 12:32:45 +00:00
commit 5c0d28a00d
2 changed files with 12 additions and 4 deletions

View file

@ -1795,7 +1795,7 @@ Ox.VideoPlayer = function(options, self) {
}
function hidePoster() {
if (self.posterIsVisible) {
if (self.loadedMetadata && self.posterIsVisible) {
self.$poster.animate({
opacity: 0
}, 250);