Hincha

A simulated live match over a Creative Commons clip: the live edge moves in real time.

A simulated live match. The teams, scores and events are fictional, laid over a Creative Commons clip that loops as a continuing feed. The live edge moves in real time, events arrive as they happen, and pausing or seeking back leaves you behind until you press Go live. Highlights plays the same clip on demand; Real HLS signal plays a genuine 24/7 live stream (a test card) through the same skin.

Why

A live-sports skin for Video.js v10. The seek bar is the match so far: the ball is the playhead, and key moments land on the pitch as they happen.

Sport is the one thing people still watch live, and the one thing a generic player serves worst. A thin grey bar says nothing about a match. Hincha borrows the language of a TV sports package instead: slanted panels, condensed numerals, one strong colour per sport.

The field is the timeline. A football pitch with mown stripes, a clay court, hardwood with painted keys, asphalt between kerbs with a chequered finish. The ball (or the car) is the playhead: drag it, or drive it with the arrow keys. The part still to come stays in shadow, and a rail along the touchline shows what has buffered.

Moments are buttons. Goals, cards, breaks of serve and overtakes stand on the field at the second they happened. Each one names itself, and one press jumps to its replay. Seek anywhere and the scoreboard shows the match as it stood at that moment, so a replay never spoils the score.

Live is treated as live. The red chip only burns when you are at the live edge. Fall behind and the player says by how much and offers the way back. Instant replay rewinds ten seconds in slow motion and then returns you to live on its own.

The big moments get the full treatment. When playback reaches a goal, an ace or an overtake for the lead, panels in the team’s colour sweep the picture, the word slams in and the scoreboard figure rolls. On the field itself a live-data layer shows who has had the momentum: attack pressure in football, the lead margin in basketball, runs of points in tennis, mini-sector times in racing.

The scoreboard sits above the picture and the controls on a solid deck below it, so the controls never cover the match and everything reads over bright grass or a night race alike. Targets are 44 px, focus is a thick white ring, every event is announced to screen readers, and calm mode (or your system’s reduced-motion setting) turns the stings, the takeovers and the rolling ball into plain fades.

What’s inside

  • Four fields of play drawn in SVG and CSS, plus a neutral track for any other video.
  • Scoreboards that speak the sport: goals and minute; points, quarter and shot clock; sets, games and points; lap and gaps.
  • Key moments from a WebVTT file or a live data feed, with previous / next moment buttons.
  • Live: DVR seeking up to the live edge, go-live button, behind-live readout, latency pill, viewer count and a results ticker.
  • Instant replay with optional slow motion.
  • Broadcast graphics: lower thirds, key-moment takeovers with confetti, a sting between sports.
  • Live data on the field: momentum, lead margin, mini-sectors; a timing tower and circuit map for racing.
  • Jumbotron hover preview with the frame, the time and the nearest moment.
  • Volume, speed, quality and captions menus, picture-in-picture, fullscreen.
  • English and Spanish, live-region announcements, calm mode.
  • One attribute to dress it: data-sport="tennis".

Shortcuts

Space K
Play or pause
← →
Back or forward
R
Instant replay
[ ]
Previous or next key moment
G
Go to live
M ↑ ↓
Mute, volume
F
Fullscreen
?
Every shortcut, in the player

Click the player or tab into it first; shortcuts work while it has focus.