1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Daniel Neto 2023-07-20 16:02:55 -03:00
parent 5ec79438da
commit c25b07e090
2 changed files with 1205 additions and 691 deletions

View file

@ -825,6 +825,7 @@ class API extends PluginAbstract {
$rows[$key]['videos'] = Video::getVideosPaths($value['filename'], true);
} else {
$extension = getExtension($rows[$key]['videoLink']);
$rows[$key]['videoLink'] = modifyURL($rows[$key]['videoLink']);
if ($extension == 'mp4') {
$rows[$key]['videos'] = array(
'mp4' => array(