You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
924 B

<?php
require_once('functions.php');
require_once('conf.php');
$videoURL = htmlentities($_GET['uri']);
$videoName = htmlentities(urldecode($_GET['name']));
$videoMIME = htmlentities($_GET['mime']);
?><!DOCTYPE html>
<html>
<head>
<title><?php echo $videoName; ?> - Astroport "<?php echo STATION_NAME; ?></title>
<link rel="stylesheet" href="styles/<?php echo THEME; ?>/style.css" type="text/css" />
<link rel="icon" type="image/png" href="./styles/<?php echo THEME; ?>/logo.png" />
</head>
<body>
<header>
<h6>
<a href="youtube.php">Astroport "<span><?php echo STATION_NAME; ?></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>