Merge pull request #181 from shakeelmohamed/bugfix/youtube-autoplay

Dynamically set YouTube autoplay from config
This commit is contained in:
Sam Potts 2016-03-13 18:29:49 +11:00
commit 426c0f5559
2 changed files with 3 additions and 3 deletions

4
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1438,7 +1438,7 @@
plyr.embed = new YT.Player(container.id, {
videoId: videoId,
playerVars: {
autoplay: 0,
autoplay: plyr.autoplay ? 1 : 0,
controls: (plyr.supported.full ? 0 : 1),
rel: 0,
showinfo: 0,