I'm currently using the @angular/youtube-player package for Angular 12. I'm using the <youtube-player> tag the library suggests as follows:
<youtube-player *ngIf="currentMedia === 'youtube'" videoId="{{currentVid}}" suggestedQuality="highres" [height]="250" [width]="500" ></youtube-player>
I have the iframe API in index.html as some tutorial video suggested and it seems to work for making the video initialize.
The question is, how do I call the API? For example, I want to do something like player.getCurrentTime() or change the time around with javascript. Does anyone know? I haven't found any good documentation for it with the angular youtube-player.