]> _ Git - cubeextranet.git/commitdiff
#1911
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 16 Feb 2018 15:52:36 +0000 (15:52 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 16 Feb 2018 15:52:36 +0000 (15:52 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index a3779beb8561b9465faa92c0b801519ecc2c6175..b36c4aa74005d8f8e1e9c4c6d27898772d378ce2 100644 (file)
@@ -873,7 +873,7 @@ class htmlMultimediaLink extends wsHTML5Link {
 
                                $res = '<iframe data-width="' . $iw . '" data-height="' . $ih . '" width="' . $iw . '" height="' . $ih . '" src="' . $this->_url . '" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>';
                        }
-                       if (isset($this->_externalIframe)) {
+                       if ($this->_externalIframe !== false) {
                                $iw = $this->_config['width'];
                                $ih = $this->_config['height'];
                                $res = '<iframe data-scale="' . $this->getCssScale() . '" data-width="' . $iw . '" data-height="' . $ih . '"  width="' . $iw . '" height="' . $ih . '" src="' . $this->_externalIframe . '" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>';
@@ -932,7 +932,7 @@ class htmlMultimediaLink extends wsHTML5Link {
                $css .= $this->getCSSZIndex();
                $css .= $this->getCSS();
                $css .= '}';
-               if ($this->_externalIframe) {
+               if ($this->_externalIframe !== false) {
                        $css .= '#l_' . $this->id . '>iframe{' . wsHTML5::writeCSSUA('transform', 'scale(' . $this->getCssScale() . ')') . '}';
                }
                return $css;