Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-23 22:07:26 +08:00
parent ee819bb260
commit ad0d9ecee0

View File

@@ -616,6 +616,9 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
final VideoQuality currentVideoQa = final VideoQuality currentVideoQa =
videoDetailCtr.currentVideoQa.value; videoDetailCtr.currentVideoQa.value;
final PlayUrlModel videoInfo = videoDetailCtr.data; final PlayUrlModel videoInfo = videoDetailCtr.data;
if (videoInfo.dash == null) {
return const SizedBox.shrink();
}
final List<FormatItem> videoFormat = videoInfo.supportFormats!; final List<FormatItem> videoFormat = videoInfo.supportFormats!;
final int totalQaSam = videoFormat.length; final int totalQaSam = videoFormat.length;
int userfulQaSam = 0; int userfulQaSam = 0;