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.
ThumbnailImage(
videoUrl:
"https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4",
width: 400,
height: 400,
)
Uint8List bytes = await VideoThumbnail.getBytes(
"https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4"
);