Tomato Player docs
Everything from your first player to writing your own skins, plugins and streaming providers. New here? Start with Getting started; it takes about five minutes.
Start here
Getting startedInstall Tomato Player from npm or the CDN, create your first video player with a skin, add HLS streaming and plugins, and use it in React, Vue or Svelte.
ArchitectureHow Tomato Player is built: a dependency-free core with a state store, providers for playback engines, and separate skins, plugins and framework bindings.
Guides
SkinsTomato Player ships nine swappable skins. Pick one, pass its options, theme it with --tp-* design tokens and CSS state attributes, or switch it at runtime.
PluginsTomato Player plugins add hotkeys, touch gestures, chapters, seek thumbnails, playlists, QoE analytics, Media Session and saved settings. Options and usage.
Streaming (HLS & DASH)Stream HLS with hls.js and MPEG-DASH with dash.js in Tomato Player. Both engines load lazily. Covers quality switching, live and DVR, and DRM configuration.
React, Vue & SvelteUse Tomato Player in React and Next.js, Vue and Nuxt, Svelte and SvelteKit, or any framework through the <tomato-player> web component. SSR-safe bindings.
CDN (jsDelivr)Load Tomato Player from jsDelivr with one script tag or ES modules and an import map, add HLS and DASH, pin a build and run it under a strict CSP.
Extend
Custom skins guideThe complete guide to Tomato Player skins: theme with tokens, override CSS safely, build a skin from UI primitives, test it and publish it to npm. With example.
Create a skinThe short workflow for adding a skin to the Tomato Player monorepo: scaffold it with pnpm new, compose controls with createSkin, scope the CSS and validate it.
API reference
Project
RoadmapWhat shipped in Tomato Player 0.1 and what comes next, prioritised from the research collection: P0 items first, then P1 and exploratory P2 work.
ChangelogRelease notes for Tomato Player. Version 0.1.0 is the first public release: core engine, UI primitives, nine skins, eight plugins, HLS and DASH, bindings.
ContributingHow to contribute to Tomato Player: set up the monorepo, scaffold skins and plugins, run the build, tests, validation and size checks, and open a pull request.
Research
OverviewResearch behind Tomato Player, with sources linked inline: the player landscape, developer pain points, opportunities and the third-party integration strategy.
Player landscapeA sourced snapshot of 14 web video players and engines plus 12 building blocks, comparing license, latest version, maintenance status and bundle size.
Developer pain pointsFourteen recurring problems developers report with web video players, each with linked evidence from issues and docs and the Tomato Player design decision.