mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -1244,9 +1244,10 @@ class PlPlayerController {
|
||||
await seekTo(Duration.zero, isSeek: false);
|
||||
}
|
||||
|
||||
await audioSessionHandler?.setActive(true);
|
||||
await _videoPlayerController?.play();
|
||||
|
||||
audioSessionHandler?.setActive(true);
|
||||
|
||||
playerStatus.status.value = PlayerStatus.playing;
|
||||
// screenManager.setOverlays(false);
|
||||
}
|
||||
|
||||
@@ -1145,6 +1145,10 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
_removeDmAction();
|
||||
}
|
||||
} else if (item != _suspendedDm) {
|
||||
if (item.content.extra == null) {
|
||||
_removeDmAction();
|
||||
return;
|
||||
}
|
||||
_suspendedDm?.suspend = false;
|
||||
_suspendedDm = item..suspend = true;
|
||||
_dmOffset = pos;
|
||||
|
||||
Reference in New Issue
Block a user