Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-14 11:05:54 +08:00
parent f3b9749a85
commit 75c2cf70a0
10 changed files with 68 additions and 46 deletions

View File

@@ -696,8 +696,7 @@ class VideoDetailController extends GetxController
void handleSBData(List<SegmentItemModel> list) {
if (list.isNotEmpty) {
try {
final duration = list.first.videoDuration ??
plPlayerController.duration.value.inMilliseconds;
final duration = list.first.videoDuration ?? data.timeLength!;
// segmentList
segmentList.addAll(list
.where((item) =>