diff options
author | Sam Potts <sam@potts.es> | 2019-01-26 22:45:47 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2019-01-26 22:45:47 +1100 |
commit | 1d51b287014697701b78c883f70c9963f4253d3c (patch) | |
tree | 1a24fa6e2095be4dfdf223fbb0da5549b34c46b3 /src/js/plyr.js | |
parent | dc54eba8f8dfc79ce51fe8ca47bb0e252fccf1b4 (diff) | |
download | plyr-1d51b287014697701b78c883f70c9963f4253d3c.tar.lz plyr-1d51b287014697701b78c883f70c9963f4253d3c.tar.xz plyr-1d51b287014697701b78c883f70c9963f4253d3c.zip |
Tweaks
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r-- | src/js/plyr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js index 674ffb3c..927eb33d 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -188,7 +188,7 @@ class Plyr { // YouTube requires the playsinline in the URL if (this.isYouTube) { this.config.playsinline = truthy.includes(url.searchParams.get('playsinline')); - this.config.hl = url.searchParams.get('hl'); // TODO: Should this be setting language? + this.config.youtube.hl = url.searchParams.get('hl'); // TODO: Should this be setting language? } else { this.config.playsinline = true; } |