App UI kits › Lounge › Player

Player

Scrub with left and right in ten-second steps that speed up as you hold, with the chapter still above the playhead; skip intro, subtitles and audio.

Player is a screen from Lounge, an app ui kit with 8 screens: A streaming TV app for the living room, driven by a remote: focus moves with the arrows and the whole screen follows it. Price: $5 for the whole pack.

Built with: scrub preview, chapters, subtitle and audio panel.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Player props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosLUPhotos
atnumber34:06)Start position in seconds (default 34:06).
videoHTMLVideoElementA video element to drive instead of the still (its currentTime follows the scrubber).
onBack() => void
onNext() => void

Methods on the ref

Use it in React

import LoungePlayer from './LoungePlayer';

<LoungePlayer />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Lounge

Good for: TV app.