summaryrefslogtreecommitdiff
path: root/video.php
diff options
context:
space:
mode:
Diffstat (limited to 'video.php')
-rw-r--r--video.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/video.php b/video.php
index 2a4b47c..38b5ca6 100644
--- a/video.php
+++ b/video.php
@@ -1,3 +1,4 @@
+<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?>
<?php
require("func.php");
@@ -33,8 +34,9 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
- <link rel="stylesheet" href="/css/style.css">
+ <style><?php echo file_get_contents('./css/style.min.css'); ?></style>
<?php require_once("static/noscript.html"); ?>
+<?php ob_end_flush(); ?>
<?php
if(!$varnotset){
if($_SERVER["REQUEST_METHOD"] == "GET"){
@@ -107,6 +109,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){
}
}
?>
+<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?>
</head>
<body <?php if(!$varnotset) echo "onload=\"prep_video('info')\""; ?>>
@@ -134,3 +137,4 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){
</div>
</div>
<?php require_once("static/foot.php"); ?>
+<?php ob_end_flush(); ?>