forked from axiom-team/astrXbian
tube.copylaradio.com HOST
This commit is contained in:
parent
3e0cfbb5fc
commit
14ec46f30d
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define('HOST', '127.0.0.1:8181');
|
||||
define('HOST', 'tube.copylaradio.com');
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ foreach ($swarm as $peer) {
|
|||
list($a, $b, $c, $videoName, $e, $g, $h, $m, $videoURI) = explode(";", $v);
|
||||
|
||||
|
||||
$videoURL = 'http://'. HOST. $videoURI;
|
||||
$videoURL = 'https://'. HOST. $videoURI;
|
||||
$mimeType = guessTypeFromFilename($videoURL);
|
||||
|
||||
if ($mimeType == 'video/mp4') {
|
||||
|
|
|
@ -13,7 +13,7 @@ foreach ($videos as $v) {
|
|||
list($a, $youtubeID, $c, $videoName, $e, $src, $h, $quality, $videoURI) = explode(";", $v);
|
||||
|
||||
|
||||
$videoURL = 'http://'. HOST. $videoURI;
|
||||
$videoURL = 'https://'. HOST. $videoURI;
|
||||
$mimeType = guessTypeFromFilename($videoURI);
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
require_once('functions.php');
|
||||
require_once('conf.php');
|
||||
|
||||
$videoURL = 'http://'. HOST. htmlentities($_GET['uri']);
|
||||
$videoURL = 'https://'. HOST. htmlentities($_GET['uri']);
|
||||
$videoName = htmlentities(urldecode($_GET['name']));
|
||||
$videoMIME = htmlentities($_GET['mime']);
|
||||
|
||||
|
|
Loading…
Reference in New Issue