video_thumbnail_generator 0.0.6 video_thumbnail_generator: ^0.0.6 copied to clipboard
A Flutter Plugin for creating a thumbnail from a Video URL. You can output the thumbnail as a Flutter Image Widget or Uint8List.
video_thumbnail_generator #
The plugin generates thumbnails from a video URL. Just enter the url of the video into the ThumbnailImage() widget. You can also output the image as Uint8List. Supports Android, IOS & Web.
Getting Started #
1. Get Thumbnail as a Flutter Image Widget #
ThumbnailImage(
videoUrl:
"https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4",
width: 400,
height: 400,
)
2. Get Thumbnail Image as Uint8List #
Uint8List bytes = VideoThumbnail.getBytes(
"https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4"
);