mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
3c9114119f
commit
757504314e
29 changed files with 377 additions and 163 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue