fix: vertical video fullScreen

This commit is contained in:
guozhigq
2024-12-01 20:14:22 +08:00
parent 32043bae05
commit fc921cdcb5

View File

@ -554,6 +554,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
playerController: plPlayerController!,
),
bottomList: vdCtr.bottomList,
fullScreenCb: (bool status) {
if (vdCtr.videoDirection.value == 'vertical') {
videoHeight.value = status ? Get.size.height : verticalHeight;
}
},
showEposideCb: () => vdCtr.videoType == SearchType.video
? videoIntroController.showEposideHandler()
: bangumiIntroController.showEposideHandler(),