video_view
1.3.3, released 5 months ago by ijoysoft.com
A lightweight media player with subtitle rendering and audio track switching support.
What it does
A media player widget and controller that supports subtitle rendering, audio track switching, and playback across Android, iOS, macOS, Windows, Linux, and Web by leveraging system or app-level components.
AI-written summary of version 1.3.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need cross-platform video playback supporting Android, iOS, Web, Windows, macOS, and Linux.
- You require internal subtitle rendering and audio track switching features.
- You want a drop-in widget or a custom video controller for media streaming.
Skip it when
- Your project uses a Flutter version lower than 3.32.
- You need DASH or MSS streaming support on iOS or macOS.
- You are on Linux and cannot install `libmpv-dev`.
Strengths
- Complete platform coverage including Android, iOS, macOS, Windows, Linux, and Web.
- Built-in internal subtitle rendering and audio track switching support.
- Small, widget-first API with simple setup.
Weaknesses
- Requires specific native libraries on Linux (`libmpv-dev`) and Web (`ShakaPlayer`).
- DASH and MSS are not supported by iOS/macOS backends.
- Requires Flutter 3.32 or higher.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Requires Flutter 3.32+. Web projects require running `dart run video_view:webinit`. Linux requires `libmpv-dev` (or `mpv-libs-devel`). Web HLS/DASH support requires ShakaPlayer.
import 'package:flutter/widgets.dart';
import 'package:video_view/video_view.dart';
void main() => runApp(VideoView(
source: 'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4',
autoPlay: true,
looping: true,
));Alternatives
Packages that do the same job and could replace video_view.
- video_player
If you want the official Flutter team's video playback plugin instead of a third-party package.
93Compare - just_audio
If your primary focus is advanced audio playback and complex audio pipelines rather than video views.
80Compare