Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-18 15:57:41 +08:00
parent c9ce1af2c6
commit 32e71dbf65
3 changed files with 19 additions and 12 deletions

View File

@@ -275,17 +275,6 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
}
}
}
if (Platform.isAndroid &&
plPlayerController!.autoPiP &&
await Utils.sdkInt >= 12) {
if (isPlaying) {
plPlayerController!.enterPip(isAuto: true);
} else {
Utils.channel.invokeMethod('setPipAutoEnterEnabled', {
'autoEnable': false,
});
}
}
}
// 继续播放或重新播放