Tube skin
Unofficial3.9 KB gzipTube is an unofficial skin inspired by video-platform patterns: a thin progress bar that grows on hover, a next button and a theater-mode toggle. It uses no third-party logos or assets and implies no affiliation.
Accent
Big Buck Bunny © Blender Foundation, CC BY 3.0, via Wikimedia Commons. HLS test stream by Mux, DASH by Akamai.Install and use
npm i @tomato-player/core @tomato-player/skin-tube
player.ts — tsimport { createPlayer } from '@tomato-player/core';import { tube } from '@tomato-player/skin-tube';createPlayer('#player', {src: 'movie.mp4',skin: tube({ onNext() {}, onTheater() {} }),});
At a glance
Options
Pass these to tube(). Every skin also accepts design tokens through createPlayer({ tokens }).
| Option | Type | Description |
|---|---|---|
| onNext | () => void | Shows a next button when set. |
| onTheater | (on: boolean) => void | Shows a theater-mode toggle when set. |



