mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 16:46:22 +08:00
fix get video param
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1101,8 +1101,8 @@ class VideoDetailController extends GetxController
|
||||
}
|
||||
setSubtitle(vttSubtitlesIndex.value);
|
||||
},
|
||||
width: data.dash!.video!.first.width,
|
||||
height: data.dash!.video!.first.height,
|
||||
width: firstVideo.width,
|
||||
height: firstVideo.height,
|
||||
);
|
||||
|
||||
initSkip();
|
||||
|
||||
@@ -2186,10 +2186,8 @@ class HeaderControlState extends State<HeaderControl> {
|
||||
}
|
||||
if (!context.mounted) return;
|
||||
PageUtils.enterPip(
|
||||
width: widget
|
||||
.videoDetailCtr.data.dash!.video!.first.width!,
|
||||
height: widget
|
||||
.videoDetailCtr.data.dash!.video!.first.height!,
|
||||
width: widget.videoDetailCtr.firstVideo.width,
|
||||
height: widget.videoDetailCtr.firstVideo.height,
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user