Better Player は、Flutter向けの高度なビデオプレーヤーであり、一般的な動画再生の課題をシンプルで直感的なAPIで解決します。さまざまなストリーミングプロトコル、アダプティブビットレートストリーミングをサポートし、カスタマイズ可能なUIコンポーネントを提供します。使いやすさを重視した設計により、開発者は異なるプラットフォームで堅牢な動画再生機能を迅速に実装できます。ドキュメントが充実しており、継続的にメンテナンスされているため、高品質な動画体験を必要とするアプリに最適です。
Better Player handles the complex video playback edge cases so you don't have to. Originally based on video_player, it's now fully independent. It tackles HLS, DRM, and caching out of the box.
[IMPORTANT] Migrating from 0.0.84 to 1.x.x?
See the Migration Guides section below.
📱 Visual Showcase
Default Controls
Settings Menu
Audio Tracks
Event Listener
🏆 vs Competitors
Why choose Better Player? Here is how it stacks up against the alternatives.
Feature
Better Player
video_player
chewie
media_kit
Engine
ExoPlayer/AVPlayer/Shaka
ExoPlayer/AVPlayer
video_player
libmpv
UI Controls
✅ Built-in & Customizable
❌ None
✅ Built-in
✅ Built-in
HLS / DASH
✅ Native
⚠️ Basic
⚠️ Basic
✅ Native
DRM Support
✅ Widevine/FairPlay/ClearKey
❌ None
❌ None
❌ None
Subtitles
✅ Advanced (WebVTT, HTML, SRT)
⚠️ Basic (SRT only)
⚠️ Basic
✅ Advanced
Caching
✅ Built-in
❌ None
❌ None
❌ None
Playlists
✅ Built-in
❌ None
❌ None
✅ Built-in
🚀 Key Features
Adaptive Streaming: Play HLS, DASH, and Smooth Streaming with automatic track selection.
DRM Support: Protect your content with Widevine, FairPlay, and ClearKey.
Smart Caching: Cache videos for seamless offline playback.
Picture in Picture (PiP): Keep videos playing while users multitask.
Advanced Subtitles: Parse SRT and WebVTT, including HTML tags.
📦 Quick Start
1. Add dependency
Add Better Player to your pubspec.yaml:
dependencies:better_player:^1.10.0
2. Basic Usage
Use the network factory to get a player up and running fast.