From: Vincent Vanwaelscappel Date: Thu, 9 Mar 2023 13:53:29 +0000 (+0100) Subject: wait #5457 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=18cd3f39dbb1497d11fae1c7d3a11b6bf012378f;p=fluidbook-toolbox.git wait #5457 @0.25 --- diff --git a/app/Fields/FluidbookLinkEditor/WebvideoService.php b/app/Fields/FluidbookLinkEditor/WebvideoService.php index 2a649705f..f9baf7880 100644 --- a/app/Fields/FluidbookLinkEditor/WebvideoService.php +++ b/app/Fields/FluidbookLinkEditor/WebvideoService.php @@ -17,7 +17,7 @@ class WebvideoService extends SelectFromArray 'youtube' => 'Youtube', 'dailymotion' => 'Dailymotion', 'vimeo' => 'Vimeo', - 'brightcove' => 'Vimeo', + 'brightcove' => 'Brightcove', ]; } } diff --git a/app/Fluidbook/Links.php b/app/Fluidbook/Links.php index 1c4c593f0..3d134fe26 100644 --- a/app/Fluidbook/Links.php +++ b/app/Fluidbook/Links.php @@ -222,6 +222,9 @@ class Links { foreach ($links as $k => $link) { if ($link['type'] == 10) { + if (!isset($link['video_service'])) { + $links[$k]['video_service'] = $link['video_service'] = 0; + } if (is_numeric($link['video_service'])) { $links[$k]['video_service'] = self::$_webvideoServicesMap[$link['video_service']]; }