feat: 字幕展示

This commit is contained in:
guozhigq
2024-02-27 22:50:02 +08:00
parent cb0ff334b3
commit ee368d348d
8 changed files with 204 additions and 4 deletions

View File

@ -236,7 +236,10 @@ class _VideoDetailPageState extends State<VideoDetailPage>
void didPopNext() async {
if (plPlayerController != null &&
plPlayerController!.videoPlayerController != null) {
setState(() => isShowing = true);
setState(() {
videoDetailController.setSubtitleContent();
isShowing = true;
});
}
videoDetailController.isFirstTime = false;
final bool autoplay = autoPlayEnable;