summaryrefslogtreecommitdiff
path: root/index.php
blob: 9cad5dbe522995b8f42daa25654733548beadb1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?>
<!doctype html>

<html>
<head>
	<meta charset="utf-8">
	<title>Video Streaming Proxy</title>
	<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
	<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
	<?php /*
	<link rel="stylesheet" href="/css/form.min.css">
	<link rel="stylesheet" href="/css/style.css">
	*/ ?>
	<style><?php echo file_get_contents('./css/style.min.css') . ' '.  file_get_contents('./css/form.min.css');?></style>
	<?php require_once("static/noscript.html"); ?>
</head>
<?php ob_end_flush(); ?>
<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?>
<body>
<?php require_once("static/header.php"); ?>
	<div class="container">
		<div class="text-center">
			<div class="row">
				<h1>Video Streaming Proxy</h1>
			</div>
			<div class="row">
				<p>Paste a link from youtube, vimeo or other <a href="/faq#supported_plattforms" title="FAQ: Supported plattforms">supported</a> video plattforms.<br>
				Stream the video, extract the audio or download it direct to the disk! <br> 
				<?php //<br> <i>(up to <strong>50M</strong> for download or <strong>200M</strong> for streaming)</i></p> ?>
				<i>(up to <strong>200M</strong>)</i></p>
				<form method='POST' action='/video'>
					<input type='text' name='vid' placeholder='https://www.youtube.com/watch?v=sTSA_sWGM44' style="color:#5b5b5b;" onclick="this.value=''">
					<br><br>
					<input class='button' type='submit' value='Show Video'>
				</form>
			</div>
		</div>
	</div>
<?php require_once("static/foot.php"); ?>
<?php ob_end_flush(); ?>