bugfix
This commit is contained in:
parent
dede41601a
commit
bfeba207ca
@ -94,11 +94,13 @@ bricks.Video = class extends bricks.Layout {
|
|||||||
textTrackSettings: false
|
textTrackSettings: false
|
||||||
});
|
});
|
||||||
this._set_source();
|
this._set_source();
|
||||||
if (self.autoplay){
|
if (this.autoplay){
|
||||||
this.player.ready(this.auto_play.bind(this));
|
this.player.autoplay = true;
|
||||||
|
this.player.muted = true;
|
||||||
|
// this.player.ready(this.auto_play.bind(this));
|
||||||
} else {
|
} else {
|
||||||
console.log('autoplay=', this.autoplay, this.auto_play);
|
console.log('autoplay=', this.autoplay, this.auto_play);
|
||||||
this.player.ready(this.auto_play.bind(this));
|
// this.player.ready(this.auto_play.bind(this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user