feat: 播放器全屏回调
This commit is contained in:
@ -514,6 +514,13 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
showEposideCb: () => vdCtr.videoType == SearchType.video
|
||||
? videoIntroController.showEposideHandler()
|
||||
: bangumiIntroController.showEposideHandler(),
|
||||
fullScreenCb: (bool status) {
|
||||
if (status) {
|
||||
videoHeight.value = Get.size.height;
|
||||
} else {
|
||||
videoHeight.value = defaultVideoHeight;
|
||||
}
|
||||
},
|
||||
),
|
||||
);
|
||||
},
|
||||
|
Reference in New Issue
Block a user