Open BlackProgTime opened 2 years ago
I use ngx-embed-video/dist for my video section on web page. I try to set autoplay like it is write in documentation but it don't work for me. Who can help me with fixing it ? Here I set iframeHtml
` "<div class="videoPlayer" [innerHTML]="iframeHtml">
loadVideo() { if (this.validUrl.transform(this.video.url)) { this.iframeHtml = this.embedService.embed(this.video.url, { query: { autoplay: 1 } }); } } `
?
I use ngx-embed-video/dist for my video section on web page. I try to set autoplay like it is write in documentation but it don't work for me. Who can help me with fixing it ? Here I set iframeHtml
` "<div class="videoPlayer" [innerHTML]="iframeHtml">
loadVideo() { if (this.validUrl.transform(this.video.url)) { this.iframeHtml = this.embedService.embed(this.video.url, { query: { autoplay: 1 } }); } } `