YoutubePlayerComponent class

Annotations
  • @Component(selector: 'youtube-player', template: '<div #player></div>', providers: [ClassProvider(YoutubeProvider)], changeDetection: ChangeDetectionStrategy.OnPush)

Constructors

YoutubePlayerComponent(YoutubeProvider provider)

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
no getter
onApiChange Stream<PlayerEvent>
no setter
onError Stream<PlayerEvent>
no setter
onPlaybackQualityChange Stream<PlayerEvent>
no setter
onPlaybackRateChange Stream<PlayerEvent>
no setter
onReady Stream<PlayerEvent>
no setter
onStateChange Stream<PlayerEvent>
no setter
player Player?
no setter
playerElement DivElement?
getter/setter pair
provider → YoutubeProvider
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoId String
no getter
width int
no getter

Methods

ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
ngOnInit() Future<void>
Executed after the first change detection run for a directive.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
play() → void
stop() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited