diff --git a/concrete/blocks/youtube/view.php b/concrete/blocks/youtube/view.php
index <HASH>..<HASH> 100644
--- a/concrete/blocks/youtube/view.php
+++ b/concrete/blocks/youtube/view.php
@@ -41,7 +41,7 @@ if (isset($iv_load_policy) && $iv_load_policy > 0) {
     $params[] = 'iv_load_policy=' . $iv_load_policy;
 }
 
-if (isset($loop) && $loop) {
+if (isset($loopEnd) && $loopEnd) {
     $params[] = 'loop=1';
 }
 
@@ -79,4 +79,4 @@ if (Page::getCurrentPage()->isEditMode()) {
     ?>" frameborder="0" allowfullscreen></iframe>
 	</div>
 <?php
-} ?>
\ No newline at end of file
+} ?>
loop Setting not working in youtube block (#<I>)

The variable for the loop setting in the controller is $loopEnd (instead of $loop).

Former-commit-id: 1acc<I>b<I>a<I>effe<I>ef<I>bf
Former-commit-id: cb5ac7cba<I>d9ada2b5bbb9d3c2c<I>abd