This commit is contained in:
yumoqing 2024-10-10 11:40:35 +08:00
parent da4678c5b8
commit 195a8de10e

View File

@ -85,6 +85,9 @@ bricks.Video = class extends bricks.Layout {
this._set_source(); this._set_source();
if (self.autoplay || self.auto_play){ if (self.autoplay || self.auto_play){
this.player.ready(this.auto_play.bind(this)); this.player.ready(this.auto_play.bind(this));
} else {
console.log('autoplay=', this.autoplay, this.auto_play);
this.player.ready(this.auto_play.bind(this));
} }
} }
} }