mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
5ec79438da
commit
c25b07e090
2 changed files with 1205 additions and 691 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue