Tiny library. Big playback experience.

A video player that feels simple.

Fast, accessible, and easy to customize. Sopplayer gives your HTML5 video a polished experience without a giant framework attached.

⚡ < 40 KB minified 🪶 0 runtime dependencies ♿ WCAG 2.1 AA 🎨 8 built-in themes 🔁 v1 compatible
Live player preview
Pick a theme
Start here

From zero to video in a few lines.

Use the CDN, npm, React, or plain HTML. Pick the path that fits your project.

<link rel="stylesheet"
  href="https://cdn.jsdelivr.net/gh/sh20raj-backup/Sopplayer@v2.0.0/dist/sopplayer.min.css">

<video id="player" poster="poster.jpg" playsinline>
  <source src="video.mp4" type="video/mp4">
</video>

<script src="https://cdn.jsdelivr.net/gh/sh20raj-backup/Sopplayer@v2.0.0/dist/sopplayer.min.js"></script>
<script>
  new Sopplayer('#player', { theme: 'default' });
</script>
Why it feels light

Small on the page. Powerful under the hood.

Useful features without turning a simple video player into a framework of its own.

🪶

Zero runtime dependencies

Pure JavaScript at runtime. Your users download a small player instead of a dependency tree.

♿

Accessibility first

Keyboard navigation, focus states, slider semantics, live announcements, captions and reduced motion support.

⌨️

Keyboard friendly

Play, pause, seek, volume, fullscreen, PiP, captions and playback speed without leaving the keyboard.

🎨

Eight built-in themes

Switch visual identity instantly or use CSS custom properties to make your own skin.

🔒

Hardened by design

Media URLs and user-controlled values are handled defensively to reduce common DOM injection risks.

🔁

Friendly to older apps

Legacy integration paths and the Video.js-style compatibility layer make migration less painful.

At a glance

Compare the footprint.

A small library should stay small. Here is where Sopplayer sits next to common alternatives.

Feature Sopplayer Video.js Plyr
Minified bundle< 40 KB> 450 KB~ 120 KB
Runtime dependencies014+2
Built-in themes7Plugins1
WCAG-focused controlsYesYesPartial
PiP & fullscreenYesYesYes
Legacy Video.js adapterIncluded——
Ready when you are

Make video feel effortless.

Drop Sopplayer into your next project and spend your time on the product around the video—not the plumbing.

Start with the quickstart →