prepare("select * from SavedVideo where Id like '$id'"); $stmt->execute(); $video = $stmt->fetchAll()[0]; $title = $video["Title"]; $author_title = $video["AuthorTitle"]; $author_id = $video["AuthorId"]; $desc = $video["Description"]; $res = "PreMuxed"; if(isset($_GET["res"])) { $myRes = $_GET["res"]; if($myRes == "PreMuxed" || $myRes == "Mux" || $myRes == "AudioOnly" || $myRes == "VideoOnly") { $res = $myRes; } } $curTime = "0"; if(isset($_GET["t"])) { $curTime = $_GET["t"]; } $path= video_exists($_GET['v'],$res); $exists = strlen($path) > 0; ?>
Download"; echo ""; } else { echo "Add To Downloader

This video does not exist, sorry

"; } ?>


Description