Skip to content

rxlabz/angular_youtube_iframe

Repository files navigation

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"
                [blockVideoInteraction]="blockVideoInteraction"
                [disableKeyboard]="disableKeyboard"
                [modestBranding]="modestBranding"
                [mobilePlaysInline]="mobilePlaysInline"
                (onReady)="onPlayerReady($event)"
                (onError)="onError($event)"
                (onStateChange)="onStateChange($event)"
                (onDuration)="duration = $event"
                (onPreloadProgress)="preloadProgress = $event"
                (onProgress)="progress = $event"
></youtube-iframe>

About

Youtube iFrame API wrapper for AngularDart

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published