vlc_player library

VLC-backed video playback for Flutter.

Import this library to use VlcPlayer, VlcPlayerController, VlcMediaSource, and the related value, media information, and error types.

Classes

VlcMediaInfo
Metadata and discovered track information for the current media.
VlcMediaSource
Describes one media item before it is loaded into VLC.
VlcMediaStats
Runtime statistics for the current VLC media session.
VlcMediaTrackInfo
Detailed information for a discovered media track.
VlcPlayer
Widget that hosts the native VLC video output.
VlcPlayerController
Controls a VlcPlayer and exposes playback state.
VlcPlayerError
Structured player error information.
VlcPlayerErrorCode
Stable error code strings used by VlcPlayerError.
VlcPlayerValue
Immutable snapshot of the native player state.
VlcTrackDescription
Lightweight track description returned by track-selection APIs.

Enums

VlcPlaybackState
Playback lifecycle states reported by the native VLC player.
VlcPlaylistLoopMode
Playlist repeat behavior used by VlcPlayerController.setPlaylist.
VlcVideoFit
How video should be fitted inside the VlcPlayer widget bounds.

Exceptions / Errors

VlcPlayerException
Exception thrown when a native player command fails.