From: vincent@cubedesigners.com Date: Mon, 19 Oct 2020 14:35:14 +0000 (+0000) Subject: wip #3969 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=528614233fdcf1fc15d85a119165d86cf7b31fd7;p=cubeextranet.git wip #3969 @0.5 --- 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 791e510e5..1d5b1b98e 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -1151,7 +1151,8 @@ class webVideoLink extends videoLink 'type' => 'video/youtube', 'src' => 'https://www.youtube.com/watch?v=' . $data->to ] - ] + ], + "youtube" => ["loop" => $data->video_loop], ]; break; case 1: // Dailymotion @@ -2090,7 +2091,7 @@ class zoomLink extends normalLink $res .= ' data-' . $key . '="' . htmlspecialchars($val, ENT_QUOTES) . '"'; } - if(!$this->rightClone) { + if (!$this->rightClone) { self::generateImage($this->getZoomAttributes(), $this->compiler, 'zoomarea', 'zoom'); }