1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-08-30 15:38:47 -03:00
parent 6d3839734e
commit c57d7ed1c8

View file

@ -7234,6 +7234,10 @@ if (!class_exists('Video')) {
return $result;
}
if(empty($paths['path'])){
$paths = Video::getSourceFile($video['filename'], ".m3u8", true);
}
$result['videoPath'] = $paths['path'];
$result['videoUrl'] = $paths['url'];
if (!file_exists($paths['path'])) {