mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 10:36:24 +08:00
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user