forked from 0x2620/oxjs
avoid shoing first frame if seeking inside VideoElement
This commit is contained in:
parent
74101b1e22
commit
5c0d28a00d
2 changed files with 12 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue