Swarm Media's fork of BetterPlayer. You are welcome to use this code, but we have made no effort to support use cases outside of ours.
- better_player >63 has an issue rendering blur shadows on iOS. This is caused by iOS platform view, that is used for DRM. Since we don't currently need DRM, our fork reverts this.
- Fixes compatibility with long HLS URLs (like Cloudflare Stream's).
- Enables the skipNext and skipPrev iOS notification controls, and bubbles these events back up to the client.
- Allows the client of the library to control the aspect ratio at the Widget level.
Advanced video player based on video_player and Chewie. It's solves many typical use cases and it's easy to run.
This plugin is based on Chewie. Chewie is awesome plugin and works well in many cases. Better Player is a continuation of ideas introduced in Chewie. Better player fix common bugs, adds more configuration options and solves typical use cases.
Features:
✔️ Fixed common bugs
✔️ Added advanced configuration options
✔️ Refactored player controls
✔️ Playlist support
✔️ Video in ListView support
✔️ Subtitles support: (formats: SRT, WEBVTT with HTML tags support; subtitles from HLS; multiple subtitles for video)
✔️ HTTP Headers support
✔️ BoxFit of video support
✔️ Playback speed support
✔️ HLS support (track, subtitles (also segmented), audio track selection)
✔️ DASH support (track, subtitles, audio track selection)
✔️ Alternative resolution support
✔️ Cache support
✔️ Notifications support
✔️ Picture in Picture support
✔️ DRM support (token, Widevine, FairPlay EZDRM).
✔️ ... and much more!
This plugin development is in progress. You may encounter breaking changes each version. This plugin is developed part-time for free. If you need some feature which is supported by other players available in pub dev, then feel free to create PR. All valuable contributions are welcome!