Video.js Skins Design Challenge · Contra × Mux

Kala

A living observatory — a player synced to the real sky.

Kala — Sanskrit & Indonesian for time. This Video.js v10 skin does not just look like an observatory; it behaves like one. Its theme follows your local time of day, the moon on the seek bar shows tonight’s actual phase, and the chapters are the constellations genuinely up tonight — all computed on your device, with no network calls. Built for slow cinema, space documentaries, and night-sky films — the kind of video you watch with the lights off.

Sky
Footage
Ambient glow

Tonight’s moon

Moonrise
Moonset
Live sky

Constellations tonight

    The same data lives inside the player — press the moon button in the top bar. Computed on your device from the date & time; rise & set times are estimates.

    01 · The concept

    Why a living observatory?

    Most players are neutral chrome. Kala picks a niche — the night-sky film — and commits to it, so every detail has a reason to exist. The living version goes one step further: the observatory reads the actual sky above the viewer.

    Time, made functional

    Kala means time — so the player keeps time through the sky. The theme follows your local hour (dawn, day, dusk, night), and the moon on the seek bar is tonight’s real moon, drawn from its computed phase.

    The sky you actually have

    Chapters are named after the constellations genuinely up tonight — Crux, Orion, Cetus, and the rest, picked by real altitude math — and the Tonight’s sky panel reports the moon’s phase, rise, and set. No two nights show the same player.

    An instrument, not a decoration

    Every control is keyboard-operable, labelled, and reachable by touch — including frame-step keys for studying a shot. The shortcuts guide is one ? away, and the skin stays readable with reduced motion, high contrast, and forced colors.

    02 · The design story

    Built like an instrument that happens to be beautiful.

    An observatory is a place that measures the night. Kala treats the player the same way: every visual choice is a measurement first, and a decoration second.

    The timeline is a horizon

    An observatory measures the night against the horizon line, so the seek bar became one — the Night Arc. Progress is an aurora rolling across it, and the thumb is the moon travelling that arc, showing the phase it has tonight.

    Chapters are navigation stars

    Sailors and astronomers navigate by stars; a viewer navigates a film by chapters. Kala names its chapters after tonight’s real constellations, so the seek bar reads like a star chart for the evening you are actually in.

    Honest about what it knows

    The moon’s phase is computed from the standard synodic cycle; constellation altitudes come from local sidereal time. Rise and set times are labelled estimates, because they are approximations — and everything runs on your device, with no network calls and no location request.

    The living sky is the default, not a gimmick mode: Auto is on when the page loads. The three manual skies (Midnight, Aurora, Ember) stay for anyone who wants a fixed mood — and the whole skin still honours the public --media-accent-color property.

    03 · Anatomy

    Everything in the frame earns its place.

    The Night Arc

    A horizon-line seek bar with an aurora gradient fill, a buffered shimmer, and a thumb that is tonight’s real moon — its phase drawn from the computed lunar cycle. It swells under your pointer; the hover card shows a live thumbnail, time, and chapter.

    Chapter stars

    Every chapter boundary is a twinkling star on the arc — and every chapter is named after a constellation genuinely up tonight. Hover one to preview its moment; the title block names the chapter you are in.

    Tonight’s sky panel

    The moon button in the top bar opens tonight’s sky: the moon’s phase and illumination, estimated moonrise and moonset, and the four constellations climbing highest tonight — with rise and set times.

    The Eclipse

    The big play button is a glowing ring with a breathing halo while paused, flanked by ±10s seek buttons. Double-tap the sides to seek; double-tap the middle for fullscreen.

    Inline volume

    The volume slider unfurls from the mute button on hover or focus, with a live percentage pill. On touch it stays open where there is room.

    Full settings menu

    Quality (with live HLS renditions), audio tracks, playback speed, and captions — in a glass menu with submenus, all keyboard navigable.

    Keyboard field guide

    Press ? or the keyboard button for the full shortcut map — play, seek, frame step, volume, fullscreen, PiP, captions, speed, and jump-to-percentage keys.

    A living sky

    Auto mode follows your local hour through four palettes — dawn, day, dusk, night — with a soft crossfade. Midnight, Aurora, and Ember stay as fixed moods, one click away.

    Feedback, everywhere

    Glass pills confirm volume, seek, fullscreen, PiP, and caption changes; the orbiting-dot spinner marks buffering; screen-reader announcements narrate state.

    04 · Skies

    One player, a sky that follows your day.

    Auto is the default: the player reads your local time and moves through dawn, day, dusk, and night on its own. Pick a fixed sky instead and the hero player above changes with it. The skin also honours the public --media-accent-color property, so any site can re-tint it.

    05 · Footage

    Readable on bright skies and black space alike.

    Switch the footage above: Cosmic Dawn is the James Webb story, dark clean rooms and golden mirrors; Daylight is bright Earth from the ISS. The glass console, scrims, and lantern focus ring are built to hold contrast against both.

    Space Shuttle launching — a frame from Cosmic Dawn

    Cosmic Dawn

    The voyage to the Webb telescope. Archival NASA footage, streamed from Mux with HLS quality levels — its chapters re-named nightly after tonight’s constellations.

    1:51 · 4 constellation chapters · Mux HLS

    Bright daylight Earth horizon seen from the International Space Station

    Daylight — Earth from Space

    Expedition 65 over bright cloud seas, closing with an aurora. NASA, public domain. The default stream comes from our own Mux asset.

    2:00 · 4 constellation chapters · Mux HLS

    06 · Small screens

    The same instrument, pocket-sized.

    Below 26rem the bar sheds its secondary buttons into the Settings menu, the time readout collapses to a toggle, and touch targets stay 44 px. Try it — this player is live.

    07 · Keyboard

    Every control answers to keys.

    Action Keys
    Play / pauseSpace K
    Seek back / forward 10sJ L ← →
    Frame step back / forward, .
    Volume up / down↑ ↓
    Mute / unmuteM
    FullscreenF
    Picture-in-pictureI
    CaptionsC
    Jump to 0–90% of the video0–9
    Start / endHome End
    Playback speed< >
    Shortcuts guide?

    08 · Accessibility

    Built to be used by everyone.