We need to output JSON
This commit is contained in:
parent
f17592e2ff
commit
78273d48fe
1 changed files with 1 additions and 1 deletions
2
json.php
2
json.php
|
@ -5,6 +5,6 @@ require_once 'download.php';
|
||||||
if (isset($_GET["url"])) {
|
if (isset($_GET["url"])) {
|
||||||
header('Content-Type: application/json');
|
header('Content-Type: application/json');
|
||||||
$video = VideoDownload::getJSON($_GET["url"]);
|
$video = VideoDownload::getJSON($_GET["url"]);
|
||||||
echo $video;
|
echo json_encode($video);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue