]> _ Git - cubeextranet.git/commitdiff
Fix size of multimedia content in popup
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 18 Aug 2015 19:02:20 +0000 (19:02 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 18 Aug 2015 19:02:20 +0000 (19:02 +0000)
inc/ws/Util/html5/class.ws.html5.links.php

index e959863a440c24ecfed23c2e1cc79e0b4534702b..b7e736992f3675373df9d95299ad3f42a6854288 100644 (file)
@@ -682,8 +682,8 @@ class htmlMultimediaLink extends wsHTML5Link {
                                        $this->_url .= '?' . $this->extra;
                                }
 
-                               $iw = $this->_config['width'] * 3;
-                               $ih = $this->_config['height'] * 3;
+                               $iw = $this->_config['width'];
+                               $ih = $this->_config['height'];
 
                                $res = '<iframe width="' . $iw . '" height="' . $ih . '" src="' . $this->_url . '" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>';
                        }