mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +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);
|
setSubtitle(vttSubtitlesIndex.value);
|
||||||
},
|
},
|
||||||
width: data.dash!.video!.first.width,
|
width: firstVideo.width,
|
||||||
height: data.dash!.video!.first.height,
|
height: firstVideo.height,
|
||||||
);
|
);
|
||||||
|
|
||||||
initSkip();
|
initSkip();
|
||||||
|
|||||||
@@ -2186,10 +2186,8 @@ class HeaderControlState extends State<HeaderControl> {
|
|||||||
}
|
}
|
||||||
if (!context.mounted) return;
|
if (!context.mounted) return;
|
||||||
PageUtils.enterPip(
|
PageUtils.enterPip(
|
||||||
width: widget
|
width: widget.videoDetailCtr.firstVideo.width,
|
||||||
.videoDetailCtr.data.dash!.video!.first.width!,
|
height: widget.videoDetailCtr.firstVideo.height,
|
||||||
height: widget
|
|
||||||
.videoDetailCtr.data.dash!.video!.first.height!,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user