From 353b66534cc699a3f1fee1f0b2d2af08a9e0a2d2 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 17 Dec 2020 15:00:50 +0000 Subject: [PATCH] wait #4137 @0.25 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 = ''; -- 2.39.5