web2025

Fullscreen Video Player

Dependency-free fullscreen looping video player with an autoplay fallback.

441 B JSNO DEPS

A deliberately tiny piece of engineering: 441 bytes of JavaScript that makes a looping video autoplay reliably across browsers, including the ones that refuse until you ask correctly.

ContributionSole author.

441 bytesJavaScript

How it works

  • No package manifest and no dependencies.
  • 441 bytes of JavaScript in total.
  • Sets playsInline and handles the autoplay promise rejection path.
Fullscreen Video Player — Alejandro Newport