Browse Source

tube.copylaradio.com HOST

pull/32/head
qo-op 1 year ago
parent
commit
14ec46f30d
  1. 2
      www/boris/conf.php
  2. 2
      www/boris/swarm_files.php
  3. 2
      www/boris/youtube.php
  4. 2
      www/boris/youtube_watch.php

2
www/boris/conf.php

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

2
www/boris/swarm_files.php

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

2
www/boris/youtube.php

@ -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
www/boris/youtube_watch.php

@ -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…
Cancel
Save