mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
6d3839734e
commit
c57d7ed1c8
1 changed files with 4 additions and 0 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue