PlayerOptions class abstract
YouTube player options.
- Annotations
-
- @anonymous
- @JS()
Constructors
- PlayerOptions({dynamic width, dynamic height, String videoId, PlayerVars playerVars, Events events, String host})
-
factory
Properties
- events ↔ Events
-
Handlers for events fired by the player.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ dynamic
-
Player height
getter/setter pair
- host ↔ String
-
Points host to correct origin for CORS
getter/setter pair
- playerVars ↔ PlayerVars
-
Player parameters.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoId ↔ String
-
ID of the video to load.
getter/setter pair
- width ↔ dynamic
-
Player width.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited