From 9f79c809e9786b616e8c617afd596fb3dc9e23e5 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 13 Mar 2023 11:31:35 +0100 Subject: [PATCH] wait #5801 @0.5 --- app/Fluidbook/Links.php | 3 +++ 1 file changed, 3 insertions(+) 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']); -- 2.39.5