PHP 8 · HLS.js · custom UI

Embed player.

Movie and TV embed routes, server fallback, adaptive quality, subtitles with styling, episode navigation and keyboard controls. Demo sources are public HLS test streams.

Run it with php -S localhost:8080 router.php. Embed URLs follow /embed/movie/{id} and /embed/tv/{id}/{season}/{episode}. Replace src/Catalog.php with your own library and point server entries at your HLS manifests.