Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 838 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 838 Bytes

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

Screenshot

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 = await VideoThumbnail.getBytes(
    "https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4"
);