mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
update
This commit is contained in:
parent
d819b148ca
commit
60f5cf73b0
1 changed files with 3 additions and 0 deletions
|
@ -1020,6 +1020,9 @@ class API extends PluginAbstract
|
||||||
if ($rows[$key]['relatedVideos'][$key2]['type'] !== 'linkVideo') {
|
if ($rows[$key]['relatedVideos'][$key2]['type'] !== 'linkVideo') {
|
||||||
$rows[$key]['relatedVideos'][$key2]['videos'] = Video::getVideosPaths($value2['filename'], true);
|
$rows[$key]['relatedVideos'][$key2]['videos'] = Video::getVideosPaths($value2['filename'], true);
|
||||||
}
|
}
|
||||||
|
if(!empty($rows[$key]['relatedVideos'][$key2]['videoLink'])){
|
||||||
|
$rows[$key]['relatedVideos'][$key2]['videoLink'] = modifyURL($rows[$key]['relatedVideos'][$key2]['videoLink']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$rows[$key]['adsImages'] = array();
|
$rows[$key]['adsImages'] = array();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue