diff options
| author | Sam Potts <sam@potts.es> | 2019-01-08 23:34:59 +1100 |
|---|---|---|
| committer | Sam Potts <sam@potts.es> | 2019-01-08 23:34:59 +1100 |
| commit | 4d3e188401f33f7a9d978bf4db03ca502b606602 (patch) | |
| tree | 0d3b441e13c3818989f3b32f0a3d6288a0be152a /src/js/plugins | |
| parent | cd9cbfbd1ecc50ebe463e1a9876c86478bc12b8f (diff) | |
| parent | 6be125db8762c7ee8d29282ff5bcd08e6bcee042 (diff) | |
| download | plyr-4d3e188401f33f7a9d978bf4db03ca502b606602.tar.lz plyr-4d3e188401f33f7a9d978bf4db03ca502b606602.tar.xz plyr-4d3e188401f33f7a9d978bf4db03ca502b606602.zip | |
Merge branch 'develop' of https://github.com/sampotts/plyr into develop
Diffstat (limited to 'src/js/plugins')
| -rw-r--r-- | src/js/plugins/youtube.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/plugins/youtube.js b/src/js/plugins/youtube.js index 73175c14..0cc8fd1d 100644 --- a/src/js/plugins/youtube.js +++ b/src/js/plugins/youtube.js @@ -153,6 +153,7 @@ const youtube = { // https://developers.google.com/youtube/iframe_api_reference player.embed = new window.YT.Player(id, { videoId, + host: player.config.noCookie ? 'https://www.youtube-nocookie.com' : undefined, playerVars: { autoplay: player.config.autoplay ? 1 : 0, // Autoplay hl: player.config.hl, // iframe interface language |
