Cinema skin

3.6 KB gzip

Cinema is a premium, film-first skin: a letterboxed serif title with an eyebrow line, gold gradient progress, remaining time and generous spacing. Use it for trailers, launches and storytelling.

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-cinema
player.ts — ts
import { createPlayer } from '@tomato-player/core';
import { cinema } from '@tomato-player/skin-cinema';
​
createPlayer('#player', {
src: 'movie.mp4',
skin: cinema({ eyebrow: 'A Tomato Original' }),
});

At a glance

Options

Pass these to cinema(). Every skin also accepts design tokens through createPlayer({ tokens }).

OptionTypeDescription
eyebrowstringSmall label above the title.
seekStepnumberSeconds to skip with the ±buttons (default 10).

More editions

Minimal skinNo.01 MinimalClean, lightweight controls. The default skin.
Studio skinNo.03 StudioPro toolbar with SMPTE timecode, frame stepping and A-B loop.
Creator skinNo.04 CreatorFloating glass pill controls with a vivid two-stop gradient.
Learn skinNo.05 LearnFor courses: speed chips, ±10 s, chapter panel and large captions.