fix: 视频简介渲染异常、二楼新回复的评论渲染异常

This commit is contained in:
guozhigq
2023-09-16 22:51:04 +08:00
parent 380ada9ae0
commit e9095932ed
4 changed files with 38 additions and 29 deletions

View File

@ -99,10 +99,13 @@ class _VideoDetailPageState extends State<VideoDetailPage>
plPlayerController!.triggerFullScreen(status: false);
}
// 播放完展示控制栏
PiPStatus currentStatus = await videoDetailController.floating!.pipStatus;
if (currentStatus == PiPStatus.disabled) {
plPlayerController!.onLockControl(false);
}
try {
PiPStatus currentStatus =
await videoDetailController.floating!.pipStatus;
if (currentStatus == PiPStatus.disabled) {
plPlayerController!.onLockControl(false);
}
} catch (_) {}
}
}