From ad0d9ecee048e5a8530127b826669774a555875f Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sat, 23 Aug 2025 22:07:26 +0800 Subject: [PATCH] fix #1098 Signed-off-by: bggRGjQaUbCoE --- lib/plugin/pl_player/view.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/plugin/pl_player/view.dart b/lib/plugin/pl_player/view.dart index 67c648ba..e0d8d109 100644 --- a/lib/plugin/pl_player/view.dart +++ b/lib/plugin/pl_player/view.dart @@ -616,6 +616,9 @@ class _PLVideoPlayerState extends State final VideoQuality currentVideoQa = videoDetailCtr.currentVideoQa.value; final PlayUrlModel videoInfo = videoDetailCtr.data; + if (videoInfo.dash == null) { + return const SizedBox.shrink(); + } final List videoFormat = videoInfo.supportFormats!; final int totalQaSam = videoFormat.length; int userfulQaSam = 0;