2013-11-10 13:57:45 +01:00
|
|
|
<?php
|
2013-12-04 03:48:01 +01:00
|
|
|
$params = '?v=' . urlencode($_GET['v']) . '&t=' . urlencode($_GET['t']);
|
2013-11-10 13:57:45 +01:00
|
|
|
$loop = ($_GET['loop'] != "0");
|
|
|
|
?><!DOCTYPE html>
|
2013-11-09 10:11:22 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2013-11-10 13:57:45 +01:00
|
|
|
<title><?php echo htmlspecialchars($_GET['t']); ?></title>
|
2013-11-10 10:56:45 +01:00
|
|
|
<link rel="stylesheet" href="playerstyle.css">
|
2013-11-10 13:57:45 +01:00
|
|
|
<script src="settings.js"></script>
|
2013-11-09 10:11:22 +01:00
|
|
|
<script src="playersettings.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2013-11-10 13:57:45 +01:00
|
|
|
<div id="playerheader">
|
|
|
|
<a id="loop0" href="<?php echo $params; ?>&loop=0"<?php if (!$loop) echo ' style="font-weight: bold"'; ?>>[play once]</a>
|
|
|
|
<a id="loop1" href="<?php echo $params; ?>&loop=1"<?php if ($loop) echo ' style="font-weight: bold"'; ?>>[loop]</a>
|
|
|
|
</div>
|
2013-11-11 23:39:23 +01:00
|
|
|
<div id="playercontent">
|
|
|
|
<video controls<?php if ($loop) echo ' loop'; ?> src="<?php echo htmlspecialchars($_GET['v']); ?>">
|
|
|
|
Your browser does not support HTML5 video. <a href="<?php echo htmlspecialchars($_GET['v']); ?>">[Download]</a>
|
|
|
|
</video>
|
|
|
|
</div>
|
2013-11-09 10:11:22 +01:00
|
|
|
</body>
|
|
|
|
</html>
|