/ Home / Plugins / Thumbnails
Thumbnails plugin 0.5 KB gzip @tomato-player/plugin-thumbnails Shows a preview image above the seek bar while you hover or drag. It reads the standard WebVTT thumbnail format, with sprite-sheet coordinates in #xywh fragments.
Bring your own assets
This plugin needs files from your pipeline (a WebVTT sprite-sheet track), so this page shows the setup only.
Install npm i @tomato-player/plugin-thumbnails
Usage import { createPlayer } from '@tomato-player/core' ;
import { minimal } from '@tomato-player/skin-minimal' ;
import { thumbnails } from '@tomato-player/plugin-thumbnails' ;
createPlayer ( '#player' , {
src: 'movie.mp4' ,
skin: minimal ( ) ,
plugins: [ thumbnails ( { src: '/thumbnails.vtt' } ) ] ,
} ) ;
Options
Other plugins Hotkeys Keyboard shortcuts with familiar defaults, fully remappable.
Gestures Double-tap to seek on touch, with visual feedback.
Chapters Chapters from an array or WebVTT, with seek-bar markers.
Playlist Next and previous, auto-advance and loop.
Analytics Vendor-neutral QoE events: startup time, quartiles, rebuffering, watch time.
Media Session Lock-screen controls, artwork and hardware media keys.
Persist Remember volume, speed, captions and resume position.
© 2026 playlikeboy and contributors · MIT License · Stream, Tube and Feed are unofficial, platform-inspired skins with no affiliation.