I am trying to wrap Angular/Youtube component, described here.
This stackblitz is the result.
The problem here is that
<youtube-player #musicPlayer [videoId]="extractVideoId(videoId)" (ready)="onReadyInternal($event)"></youtube-player>
is not firing at all the onReady
event. I never have my console log.
onReadyInternal(event: any): void { console.log(event, 'Is Ready'); this.onReady.emit(event); }
I based my work on another question with a linked project.The onReady
fires normally on this one, and the code looks very similar.