bugfix
This commit is contained in:
parent
0dded0052b
commit
6ac4c9b582
@ -89,10 +89,12 @@ bricks.Video = class extends bricks.Layout {
|
|||||||
this.player = videojs(this.video_body.dom_element, {
|
this.player = videojs(this.video_body.dom_element, {
|
||||||
controls:true,
|
controls:true,
|
||||||
autoplay:this.autoplay,
|
autoplay:this.autoplay,
|
||||||
|
muted:true,
|
||||||
nativeTextTracks:false,
|
nativeTextTracks:false,
|
||||||
textTrackSettings: false
|
textTrackSettings: false
|
||||||
});
|
});
|
||||||
this._set_source();
|
this._set_source();
|
||||||
|
/*
|
||||||
if (this.autoplay){
|
if (this.autoplay){
|
||||||
this.player.autoplay = true;
|
this.player.autoplay = true;
|
||||||
this.player.muted = true;
|
this.player.muted = true;
|
||||||
@ -101,6 +103,7 @@ bricks.Video = class extends bricks.Layout {
|
|||||||
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));
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
report_ended(){
|
report_ended(){
|
||||||
|
Loading…
Reference in New Issue
Block a user