问题描述
- Video.js 库版本:
"@angular/cdk": "10.2.7","video.js": "7.10.2","videojs-youtube": "2.6.1",
config: any;
this.config = {
responsive: true,controls: true,playbackRates: [0.5,0.75,1,1.25,1.5,2],plugins: {},html5: { nativeTextTracks: false },};
- 这是我在
ngAfterViewInit()
之后设置 Youtube 插件的地方
this.config.techOrder = ['youtube'];
this.config.sources = [{ type: 'video/youtube',src: this.youtubeUrl }];
this.config.youtube = { modestbranding: 1,wmode: 'transparent',controls: 0,iv_load_policy: 3,rel: 0 };
如果您需要任何其他信息来尽快解决此问题,请告诉我!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)