Simple Video Player
A Simple video player built using video_player Supports both android and iOS that requires low code to enhance developer experience and Material design to enhance user experience.
Features
- Simple to Use
- Play video from Network or File
- Display Thumbnail
- Fullscreen support
- Supports your app theme color
- Orientation switch
Getting started
In your pubspec.yaml file within your Flutter Project add simple_video_player under dependencies
dependencies:
simple_video_player: <latest_version>
Preview
Widget view
Fullscreen - portrait
Fullscreen - landscape
Usage
SimpleVideoPlayer(
themeColor: Colors.blue, // Use your theme color
url: 'VIDEO_URL',
path: 'FILE_PATH',
autoPlay: false,
loop: false,
);
Thumbnail
// Use to show only the thumbnail image. Does not play video on clicking the thumbnail
SimpleVideoPlayer(
url: 'VIDEO_URL',
path: 'FILE_PATH',
showThumbnailOnly: true,
);
Note
Re-run your application to configure thumbnail data