fix: 恢复亮度关闭时仍会改变亮度;听视频状态下调节进度无效

This commit is contained in:
orz12
2024-08-25 23:55:56 +08:00
parent a51aa1ce13
commit eaf12d8e9e
3 changed files with 19 additions and 21 deletions

View File

@@ -54,7 +54,7 @@ class VideoPlayerServiceHandler extends BaseAudioHandler with SeekHandler {
playbackState.add(playbackState.value.copyWith(
updatePosition: position,
));
await PlPlayerController.seekToIfExists(position);
await PlPlayerController.seekToIfExists(position, type: 'slider');
// await player.seekTo(position);
}