VideoPlayerPlugin class
The web implementation of VideoPlayerPlatform
.
This class implements the package:video_player
functionality for the web.
- Inheritance
-
- Object
- PlatformInterface
- VideoPlayerPlatform
- VideoPlayerPlugin
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildView(
int textureId) → Widget -
Returns a widget displaying the video with a given textureID.
override
-
initPlayer(
String url) → Future< int> -
Starts the video playback.
override
-
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
Static Methods
-
registerWith(
Registrar registrar) → void -
Registers this class as the default instance of
VideoPlayerPlatform
.