| OLD | NEW | 
|   1 <?php |   1 <?php | 
|   2  |   2  | 
|   3 header("Access-Control-Allow-Origin: *"); |   3 header("Access-Control-Allow-Origin: *"); | 
|   4  |   4  | 
|   5 if ($_SERVER['REQUEST_METHOD'] == "OPTIONS") { |   5 if ($_SERVER['REQUEST_METHOD'] == "OPTIONS") { | 
|   6     header("Access-Control-Allow-Methods: GET"); |   6     header("Access-Control-Allow-Methods: GET"); | 
|   7     header("Access-Control-Allow-Headers: origin, accept-encoding, referer, rang
    e"); |   7     header("Access-Control-Allow-Headers: origin, accept-encoding, referer, rang
    e"); | 
|   8     exit; |   8     exit; | 
|   9 } |   9 } | 
|  10  |  10  | 
|  11 @include("../../media/resources/serve-video.php"); |  11 @include("../../media/resources/serve-video.php"); | 
|  12  |  12  | 
|  13 ?> |  13 ?> | 
| OLD | NEW |