Tomato Player demos

Working examples of streaming, captions, chapters, playlists, analytics, theming and every framework binding. Each demo runs a real player and shows the code behind it.

HLS adaptive streaming

Adaptive bitrate HLS with a quality menu, powered by a lazy-loaded hls.js.

providerhls

MPEG-DASH streaming

DASH playback with dash.js, loaded only when a .mpd source plays.

providerdash

Multi-language captions

WebVTT captions in two languages with a captions menu and styled cues.

accessibility

Chapters

WebVTT chapters with seek-bar markers and a live chapter list.

plugin

Playlist

Three items with next, previous and auto-advance, driven by the plugin API.

plugin

Analytics events

Watch QoE events stream in: startup time, quartiles, seeks and heartbeats.

plugin

Keyboard and gestures

Every shortcut, plus double-tap seeking on touch screens.

pluginaccessibility

Theming with tokens

Change accent, radius and control size live through CSS design tokens.

skin

React component

The <TomatoPlayer> component with usePlayerState for live state.

framework

Web component

A <tomato-player> custom element configured with HTML attributes.

framework

Vertical video

Portrait 9:16 players with the Campus and Feed skins.

skin

Remember settings

Volume, speed and position survive a reload with the persist plugin.

plugin