We need to output JSON

This commit is contained in:
Pierre Rudloff 2014-03-28 20:35:32 +01:00
parent f17592e2ff
commit 78273d48fe
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ require_once 'download.php';
if (isset($_GET["url"])) {
header('Content-Type: application/json');
$video = VideoDownload::getJSON($_GET["url"]);
echo $video;
echo json_encode($video);
}
?>