Video player plugins

Small, independent packages built on the public plugin API. Each one adds a feature without touching the core, and each one is a template for writing your own.

Hotkeys

0.9 KB gzip

Keyboard shortcuts with familiar defaults, fully remappable.

@tomato-player/plugin-hotkeys

Gestures

0.8 KB gzip

Double-tap to seek on touch, with visual feedback.

@tomato-player/plugin-gestures

Chapters

0.5 KB gzip

Chapters from an array or WebVTT, with seek-bar markers.

@tomato-player/plugin-chapters

Thumbnails

0.5 KB gzip

Seek-bar preview thumbnails from WebVTT sprite sheets.

@tomato-player/plugin-thumbnails

Playlist

0.5 KB gzip

Next and previous, auto-advance and loop.

@tomato-player/plugin-playlist

Analytics

0.8 KB gzip

Vendor-neutral QoE events: startup time, quartiles, rebuffering, watch time.

@tomato-player/plugin-analytics

Media Session

0.6 KB gzip

Lock-screen controls, artwork and hardware media keys.

@tomato-player/plugin-media-session

Persist

0.7 KB gzip

Remember volume, speed, captions and resume position.

@tomato-player/plugin-persist