A Video.js v10 skin
Kungfu Stickman
A hanging scroll that unrolls over your video, and a kung fu fighter who lives in the seek bar. He hangs on to the playhead as it pulls him along, gets yanked when you seek, and the moment you pause, he takes the line as a staff and fights.
Design thinking
Kungfu Stickman started as a ruler: a seek bar is a measuring tool, so the playhead became a redline you can measure from. A stick figure grabbed that line, and when the video paused he turned it into a staff, so every pause became a kung fu duel. The hanging scroll gave the video a stage, something you unroll to watch and that rolls itself up when the story ends. Red lacquer, gold, and kraft paper set the mood, while every control sits on a dark plaque inside the picture so it reads over any footage, works from the keyboard, and goes still when reduced motion is on.
How to use it
Five things to try
Each preview is the real player, running on its own. Click one to take it over.
-
Click anywhere to unroll
The player waits rolled up at the left, under brown wrapping paper tied with red cord. Point at it and a small label follows your cursor: click anywhere, tap on a phone, or press Space, and the scroll unrolls to the right across the picture.
Space K Play or pause
-
Watch him get pulled along
The seek bar is a ruler and the playhead is an orange line, with a stick figure hanging on to it and scrambling to keep up. When you leave the mouse alone, the controls fade so you can watch. He never does: he keeps running along the bottom of the picture.
-
Seek, and he’s yanked
Drag the ruler, click it, or jump with the keys: the playhead shoots off and tears him off his feet, speed lines and all. Point at the ruler and a guide drops with a dimension line that measures how far you are from the playhead.
← → 5 seconds J L 10 seconds
-
Pause, and he fights
Pause and he takes the line as a staff. A white opponent rises out of the ground and they fight a duel strung together fresh every time, with parries, kicks, and knockdowns. Press play and the staff goes back to being the playhead.
-
Settle in, or go big
The gear opens quality, audio, speed, and captions. Picture-in-picture, casting, and fullscreen sit beside it, and fullscreen drops the scroll to leave just the picture and the controls. When the video ends, the scroll rolls itself up again, ready for another go.
F Fullscreen C Captions I Picture-in-picture
Built for everyone
Playful, and still easy to use
-
Readable over any video
Controls sit on a dark lacquer plaque that blurs the picture behind it. White on it is over 12:1, on bright footage or dark.
-
Keyboard first
Every control is reachable with Tab, in the order you see it. Focus shows corner handles like a selected layer, and Escape closes menus.
-
Thumb-sized
Buttons are at least 44px. On phones the row thins out to what fits, and the settings menu keeps the rest one tap away.
-
Calm on request
With reduced motion on, the scroll opens at once, the fights stop, and the stick figure stands still.
-
Fits any size
From a 320px phone to a 4K fullscreen, play stays in the exact middle and nothing spills out of the frame.
-
Never transparent
When the controls fade, the stick figure and his playhead stay solid, so you always know where you are.
Under the hood
A Video.js v10 skin, made of HTML and CSS
Kungfu Stickman is a skin for the Video.js v10 HTML player, started from the Scaffold skin. The controls are Video.js’s own elements; the ruler, the stick figure and his fights, the cursor label, and the focus handles are small custom elements alongside them. Every color and size is a CSS custom property, so the whole skin scales up in fullscreen and can be rethemed with a few variables.
- Player
- Video.js 10.3, HTML
- Base
- Scaffold skin, video preset
- Controls
- Play, seek, time, volume, captions, settings, cast, PiP, fullscreen
- Settings
- Quality, audio, speed, captions
- Type
- Inter and Noto Serif
- License
- Apache 2.0
Keyboard shortcuts
- Space K
- Play or pause
- ← →
- Seek 5 seconds
- J L
- Seek 10 seconds
- M
- Mute
- < >
- Slower or faster
- C
- Captions
- I
- Picture-in-picture
- F
- Fullscreen
- 0–9
- Jump to 0–90%
- Tab
- Select a control
Questions
Good to know
Can I use it with my own video?
Yes. It works with any media Video.js v10 plays: a plain MP4, HLS, or a Mux playback ID. Quality, audio, and caption choices appear in the settings menu when your video has them.
Does it work on phones?
Yes. On touch screens the scroll says “Tap anywhere”, the controls keep 44px targets, and double-tapping the sides of the picture seeks.
What if the animation is distracting?
Turn on reduced motion in your system settings. The scroll opens without moving, and the stick figure stays still with the staff planted.
Where is the video from?
The sample is one minute of Morevna, Episode 3, an open-source anime by the Morevna Project, used under CC BY-SA 3.0.