Skip to content

A Video.js v10 skin

Every video, a festival night.

Sakuga dresses the Video.js player in anime colours: its buttons hang as red paper lanterns on a festival rope, and its seek bar is a hand scroll where a golden quill writes as the video plays.

  • Video.js v10
  • Keyboard ready
  • Phone friendly
  • Reduced motion
Three red lanterns on a rope above a hand scroll, with a golden quill writing on it 作画花風 月夜灯祭

See it play

The real player, streaming from Mux. Pause it to see the festival come out.

Design thinking

Sakuga (作画) is what anime fans call the cut where the drawing suddenly comes alive. This player dresses Video.js as a summer festival night: every control is a red paper lantern under a wooden tag, and the seek bar is a hand scroll on which a golden quill writes brush script as the video plays. Pausing becomes a scene of its own — the rope drops, cloth flags read ただいま休憩中 (“on a break”) and petals fall. The decoration never costs clarity: every label sits on solid wood or paper, focus is a bold blue ring, lanterns stay big on phones, and with reduced motion nothing sways, rolls or falls.

What makes it Sakuga

A full Video.js player underneath — only the costume is new.

How to use Sakuga

Five steps, each filmed on the player above.

  1. Press the Play lantern

    Every control hangs from the festival rope. Play sits in the middle, between the 10-second skips — click it, tap it, or press Space. Pause, and the rope drops: cloth flags spell ただいま休憩中, “on a break”, and sakura petals drift down until you play again.

    Space K play or pause

  2. Travel along the scroll

    The seek bar is a hand scroll. Hover it for a preview frame and its time, click or drag to jump, and watch the golden quill write a line of brush script as the video plays. The elapsed time and the length are lettered under its ends; the −10s and +10s lanterns skip back and ahead.

    ← → seek · 0–9 jump to a tenth

  3. Open the Volume lantern

    The lantern splits in two and lowers a cloth banner. Drag the paw down the cord to turn the sound down, or press the button at its foot to mute. Press the lantern again, press Esc, or click anywhere else to roll the banner back up.

    ↑ ↓ volume · M mute

  4. Speed, captions and quality in Settings

    The Settings lantern, beside Volume, unrolls a cloth menu with the playback speed (0.5× to 2×), captions whenever the video has them, and picture quality. Choose a line to open it, and its top line takes you back. At the right end of the rope, picture-in-picture and fullscreen wait — a lantern that is on glows gold.

    < > speed · C captions · I picture-in-picture · F fullscreen

  5. Do it all from the keyboard

    Press Tab to walk the lanterns from left to right; the one in focus wears a bold blue ring that no other state uses, and the controls stay out while you move. The shortcuts work wherever focus is in the player, and Esc closes any banner or menu and returns you to its lantern.

    Tab next lantern · Esc close

Shortcuts and specs

Everything the player understands, and what it is made of.

Keyboard shortcuts

Keyboard shortcuts for the Sakuga player
Keys Action
Space KPlay or pause
← → J LSeek back or ahead
↑ ↓Volume up or down
MMute or unmute
0–9Jump to 0–90%
Home EndJump to the start or end
< >Slower or faster
CCaptions on or off
IPicture-in-picture
FFullscreen
EscClose a banner or menu

Under the hood

  • Video.js v10 HTML player, built on its Scaffold base skin — every control is a real Video.js control.
  • Plain CSS with container queries, so the layout follows the player's width, not the screen's.
  • Small custom elements for the rope, the banners and the writing scroll.
  • Any source: streams from Mux here, and plays an ordinary video file just as well.
  • Accessible: labelled controls in visual order, visible focus, hotkeys, an announcer and reduced motion.
  • Apache-2.0 licensed.

Questions

Does it work on phones and tablets?

Yes. The skin measures the player itself, so a small player gets bigger lanterns on a deeper rope. Every lantern's touch area reaches over its tag and fringe.

What changes with reduced motion?

The lanterns stop swaying, the scroll fades instead of rolling, no petals fall and the quill stops wiggling. The clips on this page wait for you to press play.

Which video does the demo play?

“Sprite Fright” by Blender Studio, released under CC BY 4.0, streamed from Mux.

Can I use the skin in my own project?

The skin is licensed Apache-2.0.