From 7331e7df4649793f6a2f9882607078bd7494ebe9 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 4 Oct 2021 14:59:25 +0000 Subject: [PATCH] wait #4742 @0:05 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 153cf6dae..d0253a228 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -1282,9 +1282,7 @@ class videoLink extends wsHTML5Link if (!is_null($w) && !is_null($h)) { $attr['width'] = $w; $attr['height'] = $h; - } - - if (!is_null($compiler)) { + } else if (!is_null($compiler)) { // Get video dimensions from thumbnail if possible (locally uploaded files) if (CubeIT_Util_Url::isLocal($data->to)) { $path = $compiler->wdir . '/' . $data->to; -- 2.39.5