refa: video bottom sheet

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-15 21:01:48 +08:00
parent 84ed34f3a7
commit 2ff84857e7
7 changed files with 2194 additions and 2263 deletions

View File

@@ -1750,7 +1750,9 @@ Widget buildViewPointWidget(
return item.start >= seg;
}).reduce((a, b) => a.start < b.start ? a : b);
if (item.from != null) {
plPlayerController.seekTo(Duration(seconds: item.from!));
plPlayerController.danmakuController?.clear();
plPlayerController.videoPlayerController
?.seek(Duration(seconds: item.from!));
}
// debugPrint('${item.title},,${item.from}');
} catch (e) {