video_thumbnail_generator 0.0.8
video_thumbnail_generator: ^0.0.8 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 #

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"
);

17
likes
100
pub points
82%
popularity

A Flutter Plugin for creating a thumbnail from a Video URL. You can output the thumbnail as a Flutter Image Widget or Uint8List.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http

More

Packages that depend on video_thumbnail_generator