1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
DanielnetoDotCom 2021-05-06 11:03:42 -03:00
parent 3c9114119f
commit 757504314e
29 changed files with 377 additions and 163 deletions

View file

@ -21,7 +21,7 @@ foreach ($videos as $value) {
echo "\nStart: " . $value['title'];
ob_flush();
$videoFileName = $value['filename'];
$destination = Video::getStoragePath()."{$videoFileName}.webp";
$destination = Video::getPathToFile("{$videoFileName}.webp");
if (!file_exists($destination)) {
echo "\nGet webp";
ob_flush();