mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update cinema mode on/off setting
This commit is contained in:
parent
8fe136f23c
commit
ab30128e67
8 changed files with 40 additions and 13 deletions
|
@ -56,6 +56,24 @@
|
|||
|
||||
return appStorage.getItem('externalplayers') == 'true';
|
||||
},
|
||||
enableCinemaMode: function (val) {
|
||||
|
||||
if (val != null) {
|
||||
update('enableCinemaMode', val.toString());
|
||||
}
|
||||
|
||||
val = appStorage.getItem('enableCinemaMode');
|
||||
|
||||
if (val) {
|
||||
return val != 'false';
|
||||
}
|
||||
|
||||
if ($.browser.mobile) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
},
|
||||
enableFullScreen: function (val) {
|
||||
|
||||
if (val != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue