From 551ede91dc991b6893c31d0811e8bf5ba3c4e36d Mon Sep 17 00:00:00 2001 From: Emanuel Aguirre Date: Thu, 16 Feb 2017 01:11:26 -0300 Subject: [PATCH] Update youtube.js Loop params should go in playerVars --- src/providers/youtube.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/youtube.js b/src/providers/youtube.js index ced1fab..5d3ced5 100644 --- a/src/providers/youtube.js +++ b/src/providers/youtube.js @@ -149,8 +149,8 @@ export default function( vidim ) { if ( this._options.loop ) { - playerParams.playlist = this.videoID; - playerParams.loop = 1; + playerParams.playerVars.playlist = this.videoID; + playerParams.playerVars.loop = 1; }