I am using Angular 11 with Angular Youtube Component, but i just don't figure it out how to autoplay it on showing the player without playing it manually Please Can anyone help me?
<youtube-player
[videoId]="'wZti8QKBWPo'"
[playerVars]="{controls: 0, mute: 1, autoplay: 1}"
(ready)="onReady($event)"
[startSeconds]="30"
[width]="width"
[height]="height">
</youtube-player>
when i pass the extra configs [playersVars] to player component, the only property works is the controls property, the rest nothing, i tried to bind from the ts file instead of passing object literal in the html file, then the mute property also works along the controls,