1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Now we have a load more
This commit is contained in:
DanieL 2022-09-20 10:34:39 -03:00
parent 813fea282c
commit 1ad8b7277b
7 changed files with 183 additions and 129 deletions

View file

@ -119,7 +119,7 @@ if (isset($_FILES['upl']) && $_FILES['upl']['error'] == 0) {
$obj->filename = $filename;
$obj->duration = $duration;
$obj->videos_id = $id;
//var_dump($obj->videos_id);exit;
if ($extension !== "jpg" && $video->getType() == "image") {
sleep(1); // to make sure the file will be available
$file = $video->getFilename();