Open kamosan123 opened 3 years ago
I try to use customVars of youtube for autoplay the video but this not working
this.player=videojs('hls2', { techOrder: ["youtube"], controls: true, autoplay: true, sources: [{ type: "video/youtube", src: "https://www.youtube.com/watch?v=xjS6SftYQaQ" }], youtube: { customVars: { autoplay: 1, } } })
I try to use customVars of youtube for autoplay the video but this not working
this.player=videojs('hls2', { techOrder: ["youtube"], controls: true, autoplay: true, sources: [{ type: "video/youtube", src: "https://www.youtube.com/watch?v=xjS6SftYQaQ" }], youtube: { customVars: { autoplay: 1, } } })