How I built a custom video player for ShareBox: fragmented ffmpeg streaming, JS state machine, exponential backoff watchdog, PGS subtitles with scale2ref, and the mistakes that taught me the most.

I built ShareBox: self-hosted file sharing in PHP 8.1 with no framework, SQLite, and FFmpeg for adaptive video streaming. The technical choices and what it taught me about the…

How I built a custom video player for ShareBox: fragmented ffmpeg streaming, JS state machine, exponential backoff watchdog, PGS subtitles with scale2ref, and the mistakes that…