aboutsummaryrefslogtreecommitdiffstats
path: root/dist/plyr.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/plyr.js')
-rw-r--r--dist/plyr.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/plyr.js b/dist/plyr.js
index fe727a7c..1a66b2ef 100644
--- a/dist/plyr.js
+++ b/dist/plyr.js
@@ -2891,7 +2891,7 @@ typeof navigator === "object" && (function (global, factory) {
// * active: The state preferred by user settings or config
// * toggled: The real captions state
- var languages = dedupe(Array.from(navigator.languages || navigator.userLanguage).map(function (language) {
+ var languages = dedupe(Array.from(navigator.languages || navigator.language || navigator.userLanguage).map(function (language) {
return language.split('-')[0];
}));