Feed skin

Unofficial2.9 KB gzip

Feed is an unofficial skin inspired by social-feed patterns: muted autoplay when the video scrolls into view, tap to unmute and a compact control bar. 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-feed
player.ts — ts
import { createPlayer } from '@tomato-player/core';
import { feed } from '@tomato-player/skin-feed';
​
createPlayer('#player', {
src: 'movie.mp4',
skin: feed({ autoplayInView: false }),
});

At a glance

Options

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

OptionTypeDescription
autoplayInViewbooleanAutoplay muted when at least half visible (default true).
Unofficial, platform-inspired design
This skin recreates common interaction patterns only. It uses no third-party logos, fonts or assets and implies no affiliation or endorsement.

More editions

Minimal skinNo.01 MinimalClean, lightweight controls. The default skin.
Cinema skinNo.02 CinemaPremium cinematic look with a serif title, eyebrow and gold accent.
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.