forked from axiom-team/astrXbian
44 lines
839 B
PHP
44 lines
839 B
PHP
<?php
|
||
require_once('functions.php');
|
||
require_once('conf.php');
|
||
|
||
$videoURL = 'https://'. HOST. htmlentities($_GET['uri']);
|
||
$videoName = htmlentities(urldecode($_GET['name']));
|
||
$videoMIME = htmlentities($_GET['mime']);
|
||
|
||
?><!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<title>AstroCrowdBuster</title>
|
||
<link rel="stylesheet" href="crowdbunker.css" type="text/css" />
|
||
<link rel="icon" type="image/png" href="/astrocrowdbunker.png" />
|
||
</head>
|
||
<body>
|
||
|
||
<header>
|
||
<h6>
|
||
<a href="youtube.php"><span>Astroport</span> × <span>Crowdbunker</span></a>
|
||
</h6>
|
||
</header>
|
||
|
||
<main>
|
||
<?php
|
||
echo '
|
||
<article>
|
||
<video autoplay="autoplay" controls>
|
||
<source src="'. $videoURL .'" type="'. $videoMIME .'">
|
||
<a href="'. $videoURL . '">' . $videoName . '</a>
|
||
</video>
|
||
|
||
<h1 class="video-title">
|
||
' . $videoName . '
|
||
</h1>
|
||
</article>';
|
||
?>
|
||
</main>
|
||
|
||
|
||
|
||
</body>
|
||
</html>
|