angular_youtube_iframe

A Youtube player component for AngularDart (4+) based on Youtube iFrame interop

screenshot

Try the demo

<youtube-iframe [playerId]="'ytvideo'" [videoId]="videoId"
                [start]="videoStart" [end]="videoEnd"
                [width]="width" [height]="height"
                [autoPlay]="autoPlay"
                [showControls]="showControls"
                [showInfos]="showInfos"
                [disableKeyboard]="disableKeyboard"
                [modestBranding]="modestBranding"
                [mobilePlaysInline]="mobilePlaysInline"
                (onReady)="onPlayerReady($event)"
                (onError)="onError($event)"
                (onStateChange)="onStateChange($event)"
></youtube-iframe>

Libraries

angular_youtube_iframe
youtube iframe api