bugfix
This commit is contained in:
parent
bfeba207ca
commit
9a8f3d988e
@ -89,11 +89,11 @@ bricks.Video = class extends bricks.Layout {
|
||||
this.player = videojs(this.video_body.dom_element, {
|
||||
controls:true,
|
||||
autoplay:this.autoplay,
|
||||
muted:true,
|
||||
nativeTextTracks:false,
|
||||
textTrackSettings: false
|
||||
});
|
||||
this._set_source();
|
||||
/*
|
||||
if (this.autoplay){
|
||||
this.player.autoplay = true;
|
||||
this.player.muted = true;
|
||||
@ -102,6 +102,7 @@ bricks.Video = class extends bricks.Layout {
|
||||
console.log('autoplay=', this.autoplay, this.auto_play);
|
||||
// this.player.ready(this.auto_play.bind(this));
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
report_ended(){
|
||||
|
Loading…
Reference in New Issue
Block a user