tha_player 0.5.2 copy "tha_player: ^0.5.2" to clipboard
tha_player: ^0.5.2 copied to clipboard

Native network-only video player with custom Android (ExoPlayer) and iOS (AVPlayer) engines.

0.5.2 #

  • Fixed unreliable Android audio track switching by replacing transient index IDs with stable track IDs
  • Added backward-compatible audio selection fallback for legacy IDs

0.5.1 #

  • Fixed iOS build errors around AVURLAsset HTTP header options and media selection APIs
  • Prevented transport control overflow on narrow widths
  • Improved example layout to avoid vertical overflow when toggling fullscreen
  • Updated SDK constraints to Dart 3.10.4 / Flutter 3.38.5
  • Excluded local logs from publish artifacts

0.5.0 #

  • Persist playback preferences (speed, quality, audio, subtitles, data saver) on the controller for seamless fullscreen swaps
  • Added structured error reporting (ThaPlayerError) alongside the existing string callback
  • Exposed controller-level playback state and error listenables
  • Shared BoxFit state by default via the controller
  • Migration: prefer ctrl.playbackState and onErrorDetails/ctrl.errorDetails for the new APIs

0.4.3 #

  • Updated Dart/Flutter SDK constraints to the latest stable toolchain
  • Upgraded plugin_platform_interface and flutter_lints to current releases

0.4.2 #

  • Fixed Android method channel wiring so getPlatformVersion resolves correctly
  • Preserve modern player settings (seek/auto-hide/lock) across fullscreen transitions with shared BoxFit state
  • Avoid leaking timers/fallback notifiers in the modern player
  • Close HTTP clients after parsing M3U playlists and thumbnail VTT files
  • Capture last playback position before reattaching native views

0.4.1 #

  • Modern player quick actions now sit in a tidy wrap along the top-left, keeping the progress and transport controls anchored to the bottom without overlap
  • Rebuilt the transport row around a larger play toggle with consistent skip chips and picture-in-picture/fullscreen buttons
  • Added a press-and-hold speed boost (2×) with visual speed badges in menus and chips, plus refreshed control styling for a cleaner transparent overlay

0.4.0 #

  • Added MX Player–style long-press seeking with configurable longPressSeek interval
  • Improved seek overlays for double-tap/hold gestures (consistent flash, formatting)
  • Replaced BoxFit popup with a compact dialog grid that clearly marks the active fit
  • Removed fullscreen SafeArea gutters so video truly fills edge-to-edge

0.3.1 #

  • Normal Player overflow bug fix
  • Player controls duplicate issues fix

0.3.0 #

  • Added optional autoFullscreen flag to ThaModernPlayer with sample toggle
  • Fixed autoplay regression when jumping straight into fullscreen
  • Exposed reusable fullscreen helper to keep inline + fullscreen UIs in sync
  • Returned normalised brightness/volume levels for gesture overlays
  • Added video/audio/subtitle track selection APIs and richer control-bar menus
  • Provided shared OkHttp client hook, configurable retry/backoff, and PiP media session controls (Android / iOS)
  • Expanded Dartdoc coverage across core public API
  • Updated documentation and example app controls

0.0.2 #

  • Initial release
  • Basic player functionality
  • BoxFit control
  • Overlay support
  • Fullscreen support

0.2.0 #

  • Native engines: ExoPlayer (Android) and AVPlayer (iOS) via platform views
  • Modern controls: auto-hide on tap, double-tap seek with feedback, lock mode
  • Volume/Brightness vertical gestures with auto-hidden side sliders
  • Fullscreen uses same controls; seamless resume across enter/exit
  • BoxFit controls: contain, cover, fill, fitWidth, fitHeight
  • Buffering indicator; keep-screen-on during playback (Android/iOS)
  • WebVTT thumbnails preview during seek (sprites supported via xywh)
  • DRM (Android): Widevine and ClearKey
  • Per-item HTTP headers; M3U parsing utility
  • Documentation overhaul and pub.dev metadata updates
1
likes
130
points
284
downloads

Publisher

unverified uploader

Weekly Downloads

Native network-only video player with custom Android (ExoPlayer) and iOS (AVPlayer) engines.

Repository (GitHub)
View/report issues

Topics

#video #player #media #drm #thumbnails

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, plugin_platform_interface

More

Packages that depend on tha_player

Packages that implement tha_player