mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Bulk embed youtube videos
This commit is contained in:
parent
fa7556197f
commit
2f6db7f80e
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ if (!User::canUpload()) {
|
|||
} else if (!empty($_POST['itemsToSave'])) {
|
||||
|
||||
foreach ($_POST['itemsToSave'] as $value) {
|
||||
foreach ($value as $key => $value2) {
|
||||
$value[$key] = xss_esc($value2);
|
||||
}
|
||||
//$info = url_get_contents($config->getEncoderURL() . "getLinkInfo/" . base64_encode($value));
|
||||
//$infoObj = json_decode($info);
|
||||
$filename = uniqid("_YPTuniqid_", true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue