Skip to content
pubscout

better_player

1.37.0, released 9 days ago by hasoft.pl

Flutter video player with native engines, HLS/DASH/DRM, caching, PiP, ads and feeds.

WASM-readyUses material_ui
$ flutter pub add better_player
Source repository

What it does

Better Player provides a single widget that plays video on Android, iOS, Web, Windows, macOS and Linux using the platform’s native media engine. It supports adaptive streaming, DRM, offline caching, subtitles, picture‑in‑picture, playlists, ads and telemetry.

AI-written summary of version 1.33.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a production‑grade video player with native performance and advanced features like DRM, caching, PiP and ads.
  • You want a single package that works across all major platforms without pulling in separate UI or platform plugins.
  • You need built‑in subtitle support and playlist/feeds for vertical video feeds.

Skip it when

  • You only need basic video playback and prefer the lightweight video_player package.
  • You are building a very small demo or prototype and want minimal dependencies.

Strengths

  • Native performance via platform engines
  • Full feature set (DRM, caching, PiP, ads, telemetry)
  • Unified controller and UI
  • Federated architecture keeps binary size small

Weaknesses

  • Large dependency set (platform packages)
  • Requires platform‑specific setup for some features (e.g., DRM licenses)

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
17

Add better_player to pubspec. No build_runner needed. For DRM or caching you may need to add platform permissions (e.g., internet, storage).

import 'package:better_player/better_player.dart';

AspectRatio(
  aspectRatio: 16/9,
  child: BetterPlayer.network(
    "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
  ),
);

Alternatives

Packages that do the same job and could replace better_player.

Works with

Packages commonly used together with better_player: ones it builds on, ones built on it, and its own family.