1
0
Fork 0
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:
Luke Pulverenti 2015-11-19 00:19:54 -05:00
parent 8fe136f23c
commit ab30128e67
8 changed files with 40 additions and 13 deletions

View file

@ -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) {