From: Vincent Vanwaelscappel Date: Mon, 13 Mar 2023 10:31:35 +0000 (+0100) Subject: wait #5801 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9f79c809e9786b616e8c617afd596fb3dc9e23e5;p=fluidbook-toolbox.git wait #5801 @0.5 --- diff --git a/app/Fluidbook/Links.php b/app/Fluidbook/Links.php index 5089daba3..9236e3d9a 100644 --- a/app/Fluidbook/Links.php +++ b/app/Fluidbook/Links.php @@ -283,6 +283,9 @@ class Links protected static function _fixMultimedia(&$links) { foreach ($links as $k => $link) { + if (isset($link['video_width'], $link['video_height']) && $link['video_width'] == 320 & $link['video_height'] == 240) { + $links[$k]['video_width'] = $links[$k]['video_height'] = ''; + } if (isset($link['alternative']) && $link['alternative'] && $link['type'] == 6) { $links[$k]['to'] = $link['alternative']; unset($links[$k]['alternative']);