video_preview_thumbnails
使用 VTT 文件生成视频预览缩略图,以增强视频导航和用户体验
8喜欢 34近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
使用 VTT 文件生成视频预览缩略图,以增强视频导航和用户体验
以下为英文项目原文快照,最新内容请访问 GitHub。
Video preview thumbnails base vtt file.
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
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.
依赖清单 3 项
{"sdk":"flutter"}^5.7.0{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗