From: vincent@cubedesigners.com Date: Mon, 4 Oct 2021 14:59:25 +0000 (+0000) Subject: wait #4742 @0:05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7331e7df4649793f6a2f9882607078bd7494ebe9;p=cubeextranet.git wait #4742 @0:05 --- 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;