No button if format list
This commit is contained in:
parent
ba963cad50
commit
245d46c164
1 changed files with 4 additions and 0 deletions
4
api.php
4
api.php
|
@ -66,8 +66,12 @@ if (isset($_GET["url"])) {
|
||||||
<input type="hidden" name="format" value="best" />
|
<input type="hidden" name="format" value="best" />
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
if (!isset($video->formats)) {
|
||||||
?>
|
?>
|
||||||
<input class="downloadBtn" type="submit" value="Download" /><br/>
|
<input class="downloadBtn" type="submit" value="Download" /><br/>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue