This commit is contained in:
yumoqing 2024-03-15 20:15:23 +08:00
parent e476f7aa61
commit b9dfd63515

View File

@ -60,7 +60,7 @@ bricks.Video = class extends bricks.Layout {
this.hidedbtn.dispatch('click'); this.hidedbtn.dispatch('click');
schedule_once(this.disable_captions.bind(this), 2); schedule_once(this.disable_captions.bind(this), 2);
this.err_cnt = 0; this.err_cnt = 0;
this.player.on('error',this.report_errorbind(this)); this.player.on('error',this.report_error.bind(this));
} }
play(){ play(){
this.player.play(); this.player.play();