video_list_player 0.0.9
video_list_player: ^0.0.9 copied to clipboard
A Flutter package for seamless video playback using video_player. Supports auto transitions and manual play, pause, next, and previous controls for playlists.
video_list_player #
A Flutter package that allows you to play a list of videos using the video_player package.
It supports automatic playback of videos one after another and provides manual controls for play,
pause, next, and previous.
β¨ Features #
- Play multiple videos in sequence
- Auto mode (automatically plays the next video)
- Manual control (next, previous, play, pause)
- Customizable aspect ratio
Platform Support #
- β Android
- β iOS
πGetting Started #
Add this to your pubspec.yaml:
dependencies: video_list_player: ^<latest_version>
Then run: flutter pub get
π οΈ Usage
- Create a list of VideoPlayerController instances.
- Initialize each controller.
- Pass the list to VideoListPlayerController.
- Use the VideoListPlayer widget in your UI.
π§± Constructor Parameters VideoListPlayer
| Parameter | Type | Description |
|---|---|---|
controller |
VideoListPlayerController |
Required. Controls video playback. |
aspectRatio |
double? |
Optional. Default taken from video. |
VideoListPlayerController
| Parameter | Type | Description |
|---|---|---|
controllers |
List<VideoPlayerController> |
Required. List of video controllers. |
autoMode |
bool |
Optional. Default is true. |
π Notes Currently supports Android and iOS. More features and improvements will be added in future updates.
π€ Author Mohammad Wadho π§ mohammadwadho5@gmail.com
π License MIT Β© 2025