GitHub repositorymbfakourii/video_preview_thumbnails

video_preview_thumbnails

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

video_preview_thumbnails project cover
Stars
1
Forks
1
Last push (UTC)
Jan 15, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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.

Mohammad Bagher Fakouri GitHub avatar
GitHub author

Mohammad Bagher Fakouri ↗

Senior Developer and Data Science

LanguagesC++CMakeDartSwiftCHTMLKotlinObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • dio^5.7.0
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗