mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 23:56:13 +08:00
fix: autoExitFullscreen
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -259,8 +259,13 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
|
|
||||||
// 结束播放退出全屏
|
// 结束播放退出全屏
|
||||||
if (!notExitFlag && autoExitFullscreen) {
|
if (!notExitFlag && autoExitFullscreen) {
|
||||||
plPlayerController!.setDoubleSpeedStatus(false);
|
|
||||||
plPlayerController!.triggerFullScreen(status: false);
|
plPlayerController!.triggerFullScreen(status: false);
|
||||||
|
if (plPlayerController!.doubleSpeedStatus.value) {
|
||||||
|
plPlayerController!.setDoubleSpeedStatus(false);
|
||||||
|
}
|
||||||
|
if (plPlayerController!.controlsLock.value) {
|
||||||
|
plPlayerController!.onLockControl(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 播放完展示控制栏
|
// 播放完展示控制栏
|
||||||
if (videoDetailController.floating != null && !notExitFlag) {
|
if (videoDetailController.floating != null && !notExitFlag) {
|
||||||
|
|||||||
Reference in New Issue
Block a user