tube.copylaradio.com HOST

This commit is contained in:
qo-op 2021-03-20 03:15:24 +01:00
parent 3e0cfbb5fc
commit 14ec46f30d
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<?php
define('HOST', '127.0.0.1:8181');
define('HOST', 'tube.copylaradio.com');
/*

View File

@ -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') {

View File

@ -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);

View File

@ -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']);