]> _ Git - cubeextranet.git/commitdiff
wait #4742 @0:05
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 4 Oct 2021 14:59:25 +0000 (14:59 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 4 Oct 2021 14:59:25 +0000 (14:59 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 153cf6daeee9c5e84b302f99d83b2ce5cef59f9d..d0253a2280f0c28beb2171444ae41784f50781f0 100644 (file)
@@ -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;