Flutter plugin for playing video inline with other widgets
open sourceBSD-3-Clausefree
video_player is the Flutter team's plugin for playing video on a widget surface, inline with other Flutter widgets, on Android, iOS, macOS and the web. It plays network and file videos through each platform's own player: AVPlayer on iOS and macOS, ExoPlayer on Android and the browser on the web, so the supported formats follow the platform. It's a federated plugin in the flutter/packages repository, published on pub.dev by flutter.dev.
Problems it solves
- play a video inside my Flutter app
- stream an mp4 from a URL in a Flutter widget
- show a looping background video in a Flutter screen
Features
- play video inline with other Flutter widgets
- Android, iOS, macOS and web
- uses AVPlayer on Apple platforms and ExoPlayer on Android
- plays videos from a URL or a file
Limitations
- Doesn't support Linux or Windows, and on the web it can't play local files (VideoPlayerController.file) or honour mixWithOthers.1
Alternatives
The same job
These do what video_player does.
- Flutter Packages Flutter's first-party packages and plugins, maintained by the Flutter team
- camera Flutter plugin for the device cameras
