]> _ Git - cubeextranet.git/commitdiff
wip #3969 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 19 Oct 2020 14:35:14 +0000 (14:35 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 19 Oct 2020 14:35:14 +0000 (14:35 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 791e510e5de12e986032c7e121cd6c1e8061a06a..1d5b1b98e3f76ee2d3e659650763c5200511f96d 100644 (file)
@@ -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');
         }