Opportunities

5 min read · Edit this page on GitHub(opens in new tab)
Context: Video.js v10 already ships a modular store, unstyled primitives, ejectable skins (shadcn), presets, casting, thumbnails, live/DVR, i18n, llms.txt and an agent skill (docs index). Plain "modular and small" is table stakes. Tomato's differentiators should target the gaps.
Priority key:
  • P0: must have for launch or positioning.
  • P1: within 2-3 releases.
  • P2: later or exploratory.

1. Positioning gaps vs Video.js v10

GapEvidenceOpportunityValueCostPriority
No native Vue/Svelte components. v10 uses custom elements plus isCustomElement config.Vue guide, Svelte guideFirst-class @tomato/vue (composables, typed props and emits, Nuxt module) and @tomato/svelte (runes, SvelteKit SSR)High: large underserved audiencesMedP0
Ads not shipped (roadmap)v10 roadmapAds slice plus IMA and VAST adapters with a watchdogHigh for publishersHighP1
No DRM guide in the v10 docs index (as of 2026-11-21)docs indexUnified drm schema across Shaka, dash.js and hls.js, plus a drmSupport() probeHigh for OTTMedP1
Orphaned Plyr and Vidstack users (deprecated or security-only)npm READMEsCodemods and API-compat shims (@tomato/compat-plyr): a near drop-in for new Plyr(el, opts)High: fast adoptionMedP0
v10 sits close to one vendor (Mux)Mux blogVendor-neutral governance, with no default analytics vendorMed (trust)LowP0

2. Product and technical ideas

IdeaWhatValueCostPriorityRef
Accessibility-first defaultsWCAG 2.2 AA release gate, caption-settings panel, scoped shortcuts, live-region announcements, published per-skin a11y reportHigh: public a11y issues exist in rivals (e.g. Plyr #905)MedP0WCAG 2.2, Plyr #905
Design tokensSkins consume DTCG-format tokens that compile to CSS custom properties. Theme in one JSON file and share themes.High: kills CSS override warsLowP0DTCG format draft
Container queries for responsive controlsControls adapt to the player's size, not the viewport. Fits embeds, cards and PiP.HighLowP0MDN container queries
Public size budgets in CIPer-package size-limit, with an auto-generated table using the same method as competitorsHigh: credibilityLowP0bundlephobia
Media Session API by defaultLock screen and hardware keys, artwork, chapter titles, seek handlersMedLowP0MDN Media Session
llms.txt + agent skill + MCP docs serverTable stakes now (v10 has llms.txt and videojs/skills). Go further: typed API JSON, copy-paste recipes, and docs examples type-checked in CI.Med (parity)LowP0 (parity)llmstxt.org
Skin marketplace mechanicstomato add skin <name> registry, compatible with the shadcn registry format. Skins declare requires: ['captions','quality'], a size, a11y score and a screenshot. Community skins get CI-validated badges.High: ecosystem moatMed-High (registry, moderation)P1v10 shadcn install
CMCD v2 / CMSD pluginOne config across native, hls.js and dash.js. hls.js master docs already describe v2 event mode; dash.js uses @svta/cml-cmcd.Med-High: CDN QoE, ties into Fastly-style edgesLow (wrap SVTA)P1hls.js API.md, Fastly CMCDv2
Vendor-neutral QoE eventsTyped, normalized playback events (startup, rebuffer, error, bitrate) that any analytics sink can subscribe to. OpenTelemetry exporter as a plugin.MedLowP1n/a
Pseudo-fullscreen + iOS strategyKeep custom UI on iPhone through a CSS fixed overlay when the Fullscreen API on containers is unavailableHigh: a top iOS complaintLowP0Apple forums
Document Picture-in-PicturePiP window with full custom controls (Chromium)MedLowP1MDN Document PiP
View TransitionsSmooth inline-to-expanded or mini-player transitions, for example between SPA routesLow-Med (delight)LowP2MDN View Transitions
WebCodecsFrame-accurate thumbnails and scrubbing previews generated on the client. Clip export. Low-latency custom pipelines.Med (niche, powerful)HighP2MDN WebCodecs
Thumbnail tooling@tomato/cli thumbnails generates sprite sheets and VTT storyboards with ffmpegMedLowP1n/a
AI-generated chapters pluginServer-side or BYO-model transcript to chapters (VTT kind="chapters"). The player only consumes chapters. Ship the generator as a separate CLI with a pluggable LLM provider.Med (buzz plus real value for long-form)MedP2n/a
Auto transcripts panelSearchable, interactive transcript from caption tracks. This is an a11y and SEO win.MedLowP1WAI media
Background/ambient presetUnder 4 kB player for hero videos (no UI, prefers-reduced-motion aware)Med: v10 already has one at 3.5 kB ReactLowP1v10 beta post
Accept any HTMLMediaElement-like elementSkins work over <video>, <audio>, <hls-video>, <mux-video> and <youtube-video> through one contractHigh: reuses the Mux elements ecosystemLowP1muxinc/elements
Leak and SSR conformance suite (public)Publish the harness that mounts and unmounts 100 players and runs SSR in 5 frameworks. Invite other players to run it.Med (credibility)MedP1See pain points
MoQ (Media over QUIC)Watch only. v10 lists it on its roadmap.Low nowHighP2v10 roadmap
  1. Native React, Vue and Svelte bindings over one store.
  2. SSR-safe packages, verified by a public conformance suite.
  3. Core ≤ 10 kB gz, skin ≤ 15 kB gz, published size table.
  4. Token-driven, container-query-responsive, a11y-gated default skin.
  5. iOS fullscreen strategy, Media Session, and a typed autoplay result.
  6. hls.js adapter, with Shaka and dash.js adapters close behind.
  7. Plyr and Vidstack migration codemods and compat shims.
  8. llms.txt and agent skill (parity).
PreviousDeveloper pain points
NextIntegration strategy