opt fullscreen

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-03 21:23:40 +08:00
parent 16c152d306
commit a928e48159
2 changed files with 4 additions and 2 deletions

View File

@@ -2245,10 +2245,12 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
return;
}
if (isFullScreen) {
plPlayerController!.triggerFullScreen(status: false);
videoDetailController.plPlayerController.triggerFullScreen(status: false);
return;
}
if (!videoDetailController.horizontalScreen && !isPortrait) {
verticalScreenForTwoSeconds();
return;
}
}

View File

@@ -1542,7 +1542,7 @@ class PlPlayerController {
await landscape();
}
} else {
await enterDesktopFullscreen();
await enterDesktopFullscreen(inAppFullScreen: inAppFullScreen);
}
} else {
if (Utils.isMobile) {