Merge branch 'master' of github.com:sampotts/plyr
This commit is contained in:
commit
e45109e1d7
@ -115,7 +115,7 @@ const defaults = {
|
|||||||
// Captions settings
|
// Captions settings
|
||||||
captions: {
|
captions: {
|
||||||
active: false,
|
active: false,
|
||||||
language: window.navigator.language.split('-')[0],
|
language: window.navigator.language ? window.navigator.language.split('-')[0] : 'en',
|
||||||
},
|
},
|
||||||
|
|
||||||
// Fullscreen settings
|
// Fullscreen settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user