tha_player library
Top-level library export for tha_player.
Import package:tha_player/tha_player.dart for the public API that bundles
media sources, controllers, and ready-made widgets.
Classes
- ThaAudioTrack
- Metadata for an audio track the user can switch to.
- ThaDrmConfig
- Bundle of DRM configuration passed to the native player engines.
- ThaMediaSource
- Definition of a single media item for the native player.
- ThaModernPlayer
- High-level Flutter widget that renders the modern gesture driven UI.
- ThaNativeControls
- Minimal control bar that forwards commands straight to the native player.
- ThaNativeFullscreenPage
- Fullscreen route that reuses the underlying controller.
- ThaNativePlayerController
- Bridge between Flutter and the native player implementation.
- ThaNativePlayerView
- Wraps the Android/iOS platform view that renders the native video surface.
- ThaPlaybackOptions
- Configuration options that influence playback resilience and buffering.
- ThaPlayer
- Simple facade around the platform interface. Primarily used by the federated example tests; most clients should use the controller APIs directly instead of this class.
- ThaSubtitleTrack
- Metadata for closed captions / subtitle tracks.
- ThaVideoTrack
- Metadata describing a selectable video track exposed by the native player.
Enums
- ThaDrmType
- Supported DRM schemes for the native players.