OLD | NEW |
---|---|
(Empty) | |
1 <?php | |
2 $position = $_GET["position"]; | |
3 header('HTTP/1.0 206 Partial Content'); | |
4 header('Content-Type: audio/ogg'); | |
5 # 12983 is the file size of media/content/silence.oga. | |
6 header('Content-Range: bytes ' . $position . '-' . $position . '/12983'); | |
7 header('Access-Control-Allow-Origin: *'); | |
8 echo substr('Ogg', $position, 1); | |
9 ?> | |
OLD | NEW |