Skip to content
pubscout

adaptive_video_player

2.0.3, released 13 days ago by an unverified publisher

Flutter video player package for YouTube and direct video URLs with adaptive controls.

WASM-ready
$ flutter pub add adaptive_video_player
Source repository

What it does

Provides a single widget API to handle both YouTube videos and direct streaming URLs (MP4, HLS, DASH) with adaptive player selection. Includes cross-platform support with unified controls, PiP, anti-screen capture, and caching.

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

Use it when

  • You need to play both YouTube videos and direct video URLs within the same app.
  • You require cross-platform video playback supporting Android, iOS, Windows, macOS, Linux, and Web.
  • You need advanced features like PiP, chapters, speed adjustments, and anti-screen capture.

Skip it when

  • You only need lightweight local audio playback without video rendering.
  • You want a minimal, dependency-free wrapper around the core video player.

Strengths

  • Supports both YouTube and direct video URLs in a single widget.
  • Broad cross-platform support including desktop and web.
  • Rich set of built-in features like PiP, anti-screen capture, and persistence caching.

Weaknesses

  • Relies on platform-specific setup and dependencies (e.g., CocoaPods, NuGet, WebKit/GTK).
  • Large dependency tree with multiple internal video packages.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
11

Requires platform permissions for internet/background audio, plus platform-specific configuration for Android Manifest, iOS Info.plist, Windows NuGet, and Linux WebKit/GTK.

AdaptiveVideoPlayer(
  config: VideoConfig(
    videoUrl: "https://youtu.be/VIDEO_ID",
  ),
);

Alternatives

Packages that do the same job and could replace adaptive_video_player.

  • just_audio

    If your primary requirement is advanced, feature-rich audio streaming and playback rather than video.

Works with

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