Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

fix videoFullscreen on android tablet

Predidit7eb071ef975b
diff --git a/lib/pages/video/video_controller.dart b/lib/pages/video/video_controller.dart
index e5faf7ee..98951578 100644
--- a/lib/pages/video/video_controller.dart
+++ b/lib/pages/video/video_controller.dart
@@ -8,6 +8,7 @@ import 'package:kazumi/pages/webview/webview_controller.dart';
import 'package:kazumi/pages/webview_desktop/webview_desktop_controller.dart';
import 'package:kazumi/pages/history/history_controller.dart';
import 'package:auto_orientation/auto_orientation.dart';
+import 'package:kazumi/utils/utils.dart';
import 'package:window_manager/window_manager.dart';
import 'package:device_info_plus/device_info_plus.dart';
import 'package:flutter/foundation.dart';
@@ -101,7 +102,9 @@ abstract class _VideoPageController with Store {
overlays: SystemUiOverlay.values,
);
// await SystemChrome.setPreferredOrientations([]);
- verticalScreen();
+ if (Utils.isCompact()) {
+ verticalScreen();
+ }
} else if (Platform.isMacOS || Platform.isWindows || Platform.isLinux) {
await const MethodChannel('com.alexmercerind/media_kit_video')
.invokeMethod(