Dynamically set YouTube autoplay from config
The YouTube autoplay doesn't work without this change.
This commit is contained in:
parent
193103cb2d
commit
c636f0e69e
4
dist/plyr.js
vendored
4
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user