diff --git a/www/boris/youtube.php b/www/boris/youtube.php index 0bf6ef5..375d0cc 100644 --- a/www/boris/youtube.php +++ b/www/boris/youtube.php @@ -16,8 +16,7 @@ foreach ($videos as $v) { list($category, $videoID, $p3, $videoName, $p5, $src, $p7, $definition, $videoURI) = explode(";", $v); - $videoURL = 'http://'. HOST. $videoURI; - $videoEco = 'http://'. HOST. '/ipns/' . $p7; + $videoEco = '/ipns/' . $p7; $mimeType = guessTypeFromFilename($videoURI); @@ -38,7 +37,6 @@ foreach ($videos as $v) { 'thumbURL' => $thumbURL, 'category' => $category, 'mime' => $mimeType, - 'url' => $videoURL, 'eco' => $videoEco, 'uri' => $videoURI, 'name' => $videoName, diff --git a/www/boris/youtube_watch.php b/www/boris/youtube_watch.php index e2c15c2..ee0a867 100644 --- a/www/boris/youtube_watch.php +++ b/www/boris/youtube_watch.php @@ -2,7 +2,8 @@ require_once('functions.php'); require_once('conf.php'); -$videoURL = 'http://'. HOST. htmlentities($_GET['uri']); +//$videoURL = 'http://'. HOST; +$videoURL = htmlentities($_GET['uri']); $videoName = htmlentities(urldecode($_GET['name'])); $videoMIME = htmlentities($_GET['mime']); diff --git a/www/boris/youtube_watch_step2.html b/www/boris/youtube_watch_step2.html index ef91dda..79f1a36 100644 --- a/www/boris/youtube_watch_step2.html +++ b/www/boris/youtube_watch_step2.html @@ -4,13 +4,13 @@
${XZUID}+ ASTROPORT
${XZUID}