video_player library

Classes

AudioTrack
A representation of a audio track.
Caption
A representation of a single caption.
ClosedCaption
Widget for displaying closed captions on top of a video.
ClosedCaptionFile
A structured representation of a parsed closed caption file.
DrmConfigs
Configurations for playing DRM content.
SubRipCaptionFile
Represents a ClosedCaptionFile, parsed from the SubRip file format. See: https://en.wikipedia.org/wiki/SubRip
TextTrack
A representation of a text track.
Track
A representation of a single track.
VideoPlayer
Widget that displays the video controlled by controller.
VideoPlayerController
Controls a platform video player, and provides updates when the state is changing.
VideoPlayerValue
The duration, current position, buffering state, error state and settings of a VideoPlayerController.
VideoProgressColors
Used to configure the VideoProgressIndicator widget's colors for how it describes the video's status.
VideoProgressIndicator
Displays the play/buffering status of the video controlled by controller.
VideoTrack
A representation of a video track.
WebVTTCaptionFile
Represents a ClosedCaptionFile, parsed from the WebVTT file format. See: https://en.wikipedia.org/wiki/WebVTT

Enums

AudioTrackChannelType
Type of the track audio channel for TrackType.audio.
DrmType
The DRM scheme for the video.
TextTrackSubtitleType
Type of the track subtitle type for TrackType.text.
TrackType
Type of the track.

Typedefs

LicenseCallback = Future<Uint8List> Function(Uint8List challenge)
Callback that returns a DRM license from the given challenge data.