From: vincent@cubedesigners.com Date: Thu, 17 Dec 2020 15:00:50 +0000 (+0000) Subject: wait #4137 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=353b66534cc699a3f1fee1f0b2d2af08a9e0a2d2;p=cubeextranet.git wait #4137 @0.25 --- 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 ac1fe6458..7237a76d6 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -118,10 +118,11 @@ class wsHTML5Link case 9: return null; case 10: - if ($init['inline']) { - return new webVideoLink($id, $init, $compiler); + $init['inline'] = self::normalizeInlineIntegration($init['inline']); + if ($init['inline'] === 'popup') { + return new webVideoPopupLink($id, $init, $compiler); } - return new webVideoPopupLink($id, $init, $compiler); + return new webVideoLink($id, $init, $compiler); case 11: return new actionLink($id, $init, $compiler); case 12: @@ -841,7 +842,7 @@ class htmlMultimediaPopupImage extends normalLink public function getAdditionnalContent() { $res = parent::getAdditionnalContent(); - $dim = getimagesize($this->wdir . '/' . $this->alternative); + $dim = CubeIT_Image::getimagesize($this->wdir . '/' . $this->alternative); $markup = '
'; $read = '';