This package provides a simple and customizable way to create a video carousel in Flutter. It allows you to display a list of video files in a carousel format, with options for autoplay and custom tap actions.
To use this package, add video_carousel
as a dependency in your pubspec.yaml file.
dependencies:
video_carousel: ^version_number
import 'package:video_carousel/video_carousel.dart';
VideoCarousel(
files: [File(),File(),File()],
onTap: (file) {
print('Tapped on video ${file.path}');
},
autoPlay: true,
)
#Features
-
- Auto playes when Carousel is in viewport.