better_player_plus
2.0.1, released 3 weeks ago by an unverified publisher
A Flutter video player built on video_player with advanced features like playlists, subtitles, and PiP.
What it does
Provides a customizable video player widget with support for HLS, DASH, multiple audio/subtitle tracks, caching, and picture‑in‑picture. It adds higher‑level controls and configuration on top of the base video_player plugin.
AI-written summary of version 2.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need out‑of‑the‑box features such as playlists, subtitles, or PiP without building them yourself
- You want a drop‑in replacement for video_player with richer UI controls
Skip it when
- You only need simple playback and want the smallest possible dependency
- You require a fully custom UI that diverges heavily from the provided controls
Strengths
- Rich feature set (subtitles, multiple tracks, caching, PiP)
- Customizable Material & Cupertino controls via separate UI packages
- Active maintenance with recent SDK updates
Weaknesses
- Adds several transitive dependencies (material_ui, cupertino_ui, wakelock_plus) increasing app size
- Breaking changes between major versions may require code migration
- Relies on video_player, so underlying platform bugs still propagate
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 7
Add better_player_plus to pubspec, ensure Android minSdk >=21 and iOS deployment target >=15. No additional native code beyond video_player's requirements, but may need permissions for storage if caching is used.
final dataSource=BetterPlayerDataSource(BetterPlayerDataSourceType.network,'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4');
final controller=BetterPlayerController(const BetterPlayerConfiguration(),betterPlayerDataSource:dataSource);
BetterPlayer(controller:controller);Alternatives
Packages that do the same job and could replace better_player_plus.
- video_player
Lightweight core player without extra UI or feature overhead
93Compare
Works with
Packages commonly used together with better_player_plus: ones it builds on, ones built on it, and its own family.
- path_providerbetter_player_plus depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- material_uibetter_player_plus depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- cupertino_uibetter_player_plus depends on itOfficial Flutter Cupertino design library implementing Apple HIG iOS and macOS user interfaces.
- wakelock_plusbetter_player_plus depends on itKeep the device screen awake across mobile, desktop, and web platforms.
- flutter_widget_from_html_corebetter_player_plus depends on itRender HTML content as native Flutter widgets with correctness and extensibility.