|
|
@ -31,6 +31,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
$xml = $_POST["xmlFile"];
|
|
|
|
$xml = $_POST["xmlFile"];
|
|
|
|
$xml = str_replace("<video>", '<video src="' . $generatedFileName . '.' . $extension . '">', $xml);
|
|
|
|
$xml = str_replace("<video>", '<video src="' . $generatedFileName . '.' . $extension . '">', $xml);
|
|
|
|
|
|
|
|
$xml = str_replace("&", "&", $xml);
|
|
|
|
|
|
|
|
|
|
|
|
writeToFile("./videos/" . $generatedFileName . ".xml", $xml);
|
|
|
|
writeToFile("./videos/" . $generatedFileName . ".xml", $xml);
|
|
|
|
redirect("?v=" . $generatedFileName);
|
|
|
|
redirect("?v=" . $generatedFileName);
|
|
|
|