Merge pull request #181 from shakeelmohamed/bugfix/youtube-autoplay
Dynamically set YouTube autoplay from config
This commit is contained in:
commit
426c0f5559
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, {
|
plyr.embed = new YT.Player(container.id, {
|
||||||
videoId: videoId,
|
videoId: videoId,
|
||||||
playerVars: {
|
playerVars: {
|
||||||
autoplay: 0,
|
autoplay: plyr.autoplay ? 1 : 0,
|
||||||
controls: (plyr.supported.full ? 0 : 1),
|
controls: (plyr.supported.full ? 0 : 1),
|
||||||
rel: 0,
|
rel: 0,
|
||||||
showinfo: 0,
|
showinfo: 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user