Skip to content

Commit

Permalink
Update youtube.js
Browse files Browse the repository at this point in the history
Loop params should go in playerVars
  • Loading branch information
delmicio authored and OriginalEXE committed Feb 16, 2017
1 parent 2b9bf61 commit 551ede9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}

Expand Down

0 comments on commit 551ede9

Please sign in to comment.