opt uplist item

end align player duration

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-25 14:49:33 +08:00
parent d567c296f8
commit d17dbe139e
5 changed files with 22 additions and 26 deletions

View File

@@ -472,10 +472,10 @@ class PlPlayerController {
enableHeart = false;
}
if (Platform.isAndroid) {
if (Platform.isAndroid && autoPiP) {
Utils.channel.setMethodCallHandler((call) async {
if (call.method == 'onUserLeaveHint') {
if (autoPiP && playerStatus.status.value == PlayerStatus.playing) {
if (playerStatus.status.value == PlayerStatus.playing) {
enterPip();
}
}

View File

@@ -317,6 +317,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
/// 时间进度
BottomControlType.time: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
// 播放时间
Obx(() {