summaryrefslogtreecommitdiff
path: root/stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/stream.php b/stream.php
index 30b703d..bbcc9a7 100644
--- a/stream.php
+++ b/stream.php
@@ -1,3 +1,4 @@
+<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?>
<?php
require_once("config.php");
require_once("func.php");
@@ -22,15 +23,16 @@ unset($db);
<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">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
- <link rel="stylesheet" href="/css/style.css">
+ <style><?php echo file_get_contents('./css/style.min.css'); ?></style>
<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
<link href="//vjs.zencdn.net/4.8/video-js.css" rel="stylesheet">
<?php /*
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="/static/player.css">
<link rel="stylesheet" href="/static/content.css">
+ <script type='text/javascript' src='/boring.js'></script>
*/ ?>
- <!--script type='text/javascript' src='/boring.js'></script-->
+<?php ob_end_flush(); ?>
<script type='text/javascript'>
window.onload = function () {
@@ -67,6 +69,7 @@ unset($db);
</script>
<?php require_once("static/noscript.html"); ?>
</head>
+<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?>
<body >
<?php require_once("static/header.php"); ?>
@@ -86,3 +89,4 @@ unset($db);
</div>
</div>
<?php require_once("static/foot.php"); ?>
+<?php ob_end_flush(); ?>