mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +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;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(empty($paths['path'])){
|
||||||
|
$paths = Video::getSourceFile($video['filename'], ".m3u8", true);
|
||||||
|
}
|
||||||
|
|
||||||
$result['videoPath'] = $paths['path'];
|
$result['videoPath'] = $paths['path'];
|
||||||
$result['videoUrl'] = $paths['url'];
|
$result['videoUrl'] = $paths['url'];
|
||||||
if (!file_exists($paths['path'])) {
|
if (!file_exists($paths['path'])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue