A Video Player For Vimeo Videos in Flutter. This plugin allow us to play video from vimeo and it's supports Android and iOS platforms.
- easy way to play vimeo video in video player.
Import it to your project file
import 'package:vimeo_video_player/vimeo_video_player.dart';
And add it in its most basic form like it:
VimeoVideoPlayer(
url: 'https://vimeo.com/70591644',
);
Parameter | Description |
---|---|
String url | the string url of valid vimeo video |
Parameter | Description |
---|---|
List systemUiOverlay | top-bottom overlay to hide/show status bars |
DeviceOrientation deviceOrientation | deviceOrientation of video view |
Duration? startAt | video will have initial position set to given minute/second |
Function(Duration timePoint)? onProgress | it will be called periodically with current video position (approximately every 500 ms) |
VoidCallback? onFinished | it will be called when video finishes playback |
bool autoPlay | to auto-play the video once initialized |
Options? dioOptionsForVimeoVideoConfig | Options to pass in Dio GET request, Used in vimeo video public API call to get the video config |
- dio: ^5.4.0
- flick_video_player: ^0.7.0
- video_player: ^2.8.2
- Contribution towards our repository is always welcome, we request contributors to create a pull request for development.
It would be great for us if the reporter can share the below things to understand the root cause of the issue.
- Library version
- Code snippet
- Logs if applicable
- Device specification like (Manufacturer, OS version, etc)
- Screenshot/video with steps to reproduce the issue
- Library used
vimeo_video_player is MIT-licensed.
We’d be really happy if you send us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding our work.