Skip to content

Generate Video preview thumbnails using VTT files for enhanced video navigation and user experience

License

Notifications You must be signed in to change notification settings

mbfakourii/video_preview_thumbnails

Repository files navigation

logo

Video Preview Thumbnails

pub package
Video preview thumbnails base vtt file.

Features

  • Load base vtt file
  • Handle image
  • Custom base image url
  • Custom loading and error handler

Example App

Usage

Quick simple usage example:

VideoPreviewThumbnailsController controller = VideoPreviewThumbnailsController();
Uint8List vttFile=...;

...

VideoPreviewThumbnails(
    vtt: vttFile,
    controller: controller,
)

...

controller.setCurrentTime(1500);

Sample vtt file support:

WEBVTT

00:00:00.000 --> 00:00:01.000
https://example.com/media/coffee16.jpg#xywh=0,0,160,90

00:00:01.000 --> 00:00:02.000
https://example.com/media/coffee16.jpg#xywh=0,90,160,90

00:00:02.000 --> 00:00:03.000
https://example.com/media/coffee16.jpg#xywh=0,180,160,90

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

About

Generate Video preview thumbnails using VTT files for enhanced video navigation and user experience

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published