fix: PlayerStatus.completed status bar loss

This commit is contained in:
guozhigq
2024-11-02 14:19:42 +08:00
parent a462de4c39
commit 335019c396

View File

@ -137,7 +137,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
autoEnterPip(status: status);
if (status == PlayerStatus.completed) {
// 结束播放退出全屏
if (autoExitFullcreen) {
if (autoExitFullcreen && plPlayerController!.isFullScreen.value) {
plPlayerController!.triggerFullScreen(status: false);
}
shutdownTimerService.handleWaitingFinished();