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.
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.
80Compare
Works with
Packages commonly used together with adaptive_video_player: ones it builds on, ones built on it, and its own family.
- webadaptive_video_player depends on itLightweight bindings for browser APIs via JS interop
- ffiadaptive_video_player depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- url_launcheradaptive_video_player depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- video_playeradaptive_video_player depends on itFlutter plugin for displaying inline video on Android, iOS, macOS, and web.
- flutter_inappwebviewadaptive_video_player depends on itAdd inline WebViews, headless WebViews, and in-app browser windows.
- video_player_winadaptive_video_player depends on itWindows implementation of the video_player plugin using Media Foundation API.
- cached_video_player_plusadaptive_video_player depends on itDrop-in wrapper for video_player that caches videos for offline playback.
- video_player_media_kitadaptive_video_player depends on itpackage:video_player implementation for all platforms powered by package:media_kit.