aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-07-30 23:29:02 +1000
committerSam Potts <sam@potts.es>2018-07-30 23:29:02 +1000
commit248005e8e05529ee5aa558a2126c3f80019be759 (patch)
tree252b90e4410d5e8dd8a3658ad008aa16a308114b /src
parentdae272ef66a967ed23a2fe48cf68b0273349b89e (diff)
downloadplyr-248005e8e05529ee5aa558a2126c3f80019be759.tar.lz
plyr-248005e8e05529ee5aa558a2126c3f80019be759.tar.xz
plyr-248005e8e05529ee5aa558a2126c3f80019be759.zip
Fix merge
Diffstat (limited to 'src')
-rw-r--r--src/js/plyr.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index f33b39c7..9437cdbe 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -192,8 +192,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');
- );
+ this.config.hl = url.searchParams.get('hl'); // TODO: Should this be setting language?
} else {
this.config.playsinline = true;
}