|
@@ -1,5 +1,9 @@
|
|
|
<?php
|
|
<?php
|
|
|
require('functions.php');
|
|
require('functions.php');
|
|
|
|
|
+
|
|
|
|
|
+$httpUser = "yolo";
|
|
|
|
|
+$httpPassword = "amk";
|
|
|
|
|
+
|
|
|
?>
|
|
?>
|
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
|
<html lang="de">
|
|
<html lang="de">
|
|
@@ -207,7 +211,7 @@ require('functions.php');
|
|
|
|
|
|
|
|
$mime = explode(';', finfo_file(finfo_open(FILEINFO_MIME), $_GET['path']));
|
|
$mime = explode(';', finfo_file(finfo_open(FILEINFO_MIME), $_GET['path']));
|
|
|
|
|
|
|
|
- echo "<a href=\"?path=" . $pathv . "\">Back</a> | <a href=\"readfile.php?file=" . $_GET['path'] . "\">Download</a><br>";
|
|
|
|
|
|
|
+ echo "<a href=\"?path=" . $pathv . "\">Back</a> | <a href=\"readfile.php?file=" . $_GET['path'] . "\">Download</a> | <input type=\"text\" value=\"https://yolo:amk@bridge.mmnx.de/videos/readfile.php?file=" . $_GET['path'] . "\" /> <sub>Kopieren für Wiedergabe in Medienplayer (Netzwerkstream)</sub><br>";
|
|
|
echo "<video width=\"auto\" height=\"auto\" controls>";
|
|
echo "<video width=\"auto\" height=\"auto\" controls>";
|
|
|
echo "<source src=\"readfile.php?file=" . $_GET['path'] . "\" type=\"" . $mime[0] . "\">";
|
|
echo "<source src=\"readfile.php?file=" . $_GET['path'] . "\" type=\"" . $mime[0] . "\">";
|
|
|
echo "Your browser does not support the video tag.";
|
|
echo "Your browser does not support the video tag.";
|