Skip to content

Instantly share code, notes, and snippets.

@kicktv
kicktv / index.html
Created November 9, 2026 18:33 — forked from hungnt1/index.html
Plyr + hls.js
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HLS Demo</title>
<link rel="stylesheet" href="https://cdn.plyr.io/1.8.2/plyr.css">
</head>
<body>
<video preload="none" id="player" autoplay controls crossorigin></video>
<script src="https://cdn.plyr.io/1.8.2/plyr.js"></script>
@kicktv
kicktv / proxy.php
Created November 30, 2025 18:41 — forked from milankragujevic/proxy.php
PHP streaming proxy with support for Range requests (perfect for proxying video files with progressive download MP4 streaming)
<?php
error_reporting(0);
set_time_limit(0);
ob_end_clean();
$url = $_GET['url'];
if(isset($_SERVER['HTTP_RANGE'])) {
stream_context_set_default([
'http' => [