1
0
Fork 0
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:
daniel 2019-07-13 20:57:24 -03:00
parent fa7556197f
commit 2f6db7f80e

View file

@ -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);