vimeo_video_player
1.0.3, released 11 months ago by mindinventory.com
Play Vimeo videos in Flutter using an InAppWebView.
What it does
This package renders a Vimeo video inside a Flutter widget via InAppWebView. It exposes many playback options and callbacks for events such as play, pause, finish, and errors.
AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to embed a Vimeo video in a Flutter app
- You want customizable playback controls and event callbacks
- You require web, iOS, Android, macOS, or Windows support
Skip it when
- You need native video playback without a webview
- You are building a platform that does not support WebView
Strengths
- Easy to integrate with a single widget
- Supports many playback options and callbacks
- Works across mobile, web, and desktop
Weaknesses
- Relies on WebView, so performance may be lower than native players
- Only supports Vimeo videos
- No support for other video platforms
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add dependency to pubspec.yaml and import the package. No special permissions or build_runner needed.
import 'package:vimeo_video_player/vimeo_video_player.dart';
VimeoVideoPlayer(
videoId: '12860646',
isAutoPlay: true,
showControls: true,
);Alternatives
Packages that do the same job and could replace vimeo_video_player.
- native_video_player
A Flutter widget to play videos on iOS and Android using a native implementation.
67Compare - video_player_android
Android implementation of the video_player plugin
88Compare - video_player_avfoundation
iOS and macOS implementation of the video_player plugin
86Compare - chewie
Video player widget with Material/Cupertino controls
92Compare
Works with
Packages commonly used together with vimeo_video_player: ones it builds on, ones built on it, and its own family.