<?php | |
header("Access-Control-Allow-Origin: *"); | |
if ($_SERVER['REQUEST_METHOD'] == "OPTIONS") { | |
header("Access-Control-Allow-Methods: GET"); | |
header("Access-Control-Allow-Headers: origin, accept-encoding, referer, range"); | |
exit; | |
} | |
@include("../../media/resources/serve-video.php"); | |
?> |