mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: player
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1162,7 +1162,8 @@ class VideoDetailController extends GetxController
|
||||
}
|
||||
if (data.dash == null) {
|
||||
SmartDialog.showToast('视频资源不存在');
|
||||
isShowCover.value = false;
|
||||
autoPlay.value = false;
|
||||
isShowCover.value = true;
|
||||
videoState.value = LoadingState.success(null);
|
||||
isQuerying = false;
|
||||
return;
|
||||
@@ -1265,8 +1266,9 @@ class VideoDetailController extends GetxController
|
||||
await playerInit();
|
||||
}
|
||||
} else {
|
||||
autoPlay.value = false;
|
||||
isShowCover.value = true;
|
||||
if (result['code'] == -404) {
|
||||
isShowCover.value = false;
|
||||
SmartDialog.showToast('视频不存在或已被删除');
|
||||
}
|
||||
if (result['code'] == 87008) {
|
||||
|
||||
Reference in New Issue
Block a user