mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
![]() |
(function () {
|
|||
|
|
|||
|
function onSuccess() {
|
|||
|
console.log('Immersive mode succeeded');
|
|||
|
}
|
|||
|
|
|||
|
function onError() {
|
|||
|
console.log('Immersive mode failed');
|
|||
|
}
|
|||
|
|
|||
|
//// Is this plugin supported?
|
|||
|
//AndroidFullScreen.isSupported();
|
|||
|
|
|||
|
//// Is immersive mode supported?
|
|||
|
//AndroidFullScreen.isImmersiveModeSupported(successFunction, errorFunction);
|
|||
|
|
|||
|
//// The width of the screen in immersive mode
|
|||
|
//AndroidFullScreen.immersiveWidth(trace, errorFunction);
|
|||
|
|
|||
|
//// The height of the screen in immersive mode
|
|||
|
//AndroidFullScreen.immersiveHeight(trace, errorFunction);
|
|||
|
|
|||
|
//// Hide system UI until user interacts
|
|||
|
//AndroidFullScreen.leanMode(successFunction, errorFunction);
|
|||
|
|
|||
|
//// Show system UI
|
|||
|
//AndroidFullScreen.showSystemUI(successFunction, errorFunction);
|
|||
|
|
|||
|
//// Extend your app underneath the system UI (Android 4.4+ only)
|
|||
|
//AndroidFullScreen.showUnderSystemUI(successFunction, errorFunction);
|
|||
|
|
|||
|
//// Hide system UI and keep it hidden (Android 4.4+ only)
|
|||
|
//AndroidFullScreen.immersiveMode(successFunction, errorFunction);
|
|||
|
})();
|