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 ↗