use Cubist\Util\Files\Files;
use Cubist\Util\Gzip;
use Cubist\Util\Str;
+use Cubist\Util\WebVideo;
use Fluidbook\Tools\Links\Link;
use PhpOffice\PhpSpreadsheet\Cell\DataType;
use PhpOffice\PhpSpreadsheet\Exception;
$link['to'] = '';
}
+ $webvideo = WebVideo::parse($link['to'], true);
+ if ($webvideo !== false) {
+ $link['type'] = '10';
+ $link['video_service'] = $webvideo['service'];
+ $link['inline'] = 'popup';
+ $link['to'] = $webvideo['id'];
+ }
+
$link['display_area'] = '1';
$link['page'] = $page;
$link['uid'] = self::generateUID();