The video player for the modern web.

A native Web Component. One tag gives you thumbnails, quality switching, captions and full theming.

Now playing · this is Vega PlayerAI-generated clips: Mochi 1 by Genmo (Apache-2.0)

Works with every framework. It's just HTML.

  • React
  • Preact
  • Vue
  • Angular
  • Svelte
  • Next.js
  • Nuxt
  • Astro
  • SolidJS
  • SvelteKit
  • Qwik
  • Lit
  • Remix
  • Ember.js

See it in action.

Every example below is live: pick a tab and press play.

Example clips: LTX-Video by Lightricks (Apache-2.0)

One tag

A source and a poster. Everything else has sensible defaults.

index.html
<vega-player
  src="/video.mp4"
  poster="/poster.jpg">
</vega-player>

Everything a player needs.

Nothing it doesn't. Every feature is one attribute away.

Small file. Fast start.

Numbers from our own build and test run.

21 KBgzipped, styles included
0dependencies
50 msto load and start 20 players
132tests passing in a real browser
  • Component37 passed

    Registration, attributes, properties, theming, security, translations.

  • Playback46 passed

    Loading, errors, play and seek, speed, quality, captions, keyboard.

  • Controls30 passed

    Volume, progress bar, call-to-action modal, fullscreen, PiP, auto-hide.

  • Thumbnails19 passed

    Seek preview time, WebVTT sprites, generated thumbnails, parser.

Measured on dist/vega-player.min.js in Chromium. The tests play real video, no mocks. How the tests work

Start building with Vega Player.

One script, one tag, five minutes. The download includes the source, the minified build and the thumbnail tool.