mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 详情页横屏布局(bug很多不要下载!)
This commit is contained in:
@@ -241,6 +241,10 @@ class VideoDetailController extends GetxController
|
||||
plPlayerController.headerControl = headerControl;
|
||||
}
|
||||
|
||||
void setTriggerFullScreenCallback(void Function({bool? status}) callback) {
|
||||
plPlayerController.setTriggerFullscreenCallback(callback);
|
||||
}
|
||||
|
||||
// 视频链接
|
||||
Future queryVideoUrl() async {
|
||||
var result = await VideoHttp.videoUrl(cid: cid.value, bvid: bvid);
|
||||
@@ -359,7 +363,7 @@ class VideoDetailController extends GetxController
|
||||
if (result['code'] == -404) {
|
||||
isShowCover.value = false;
|
||||
}
|
||||
if (result['code'] == 87008){
|
||||
if (result['code'] == 87008) {
|
||||
SmartDialog.showToast("当前视频可能是专属视频,可能需包月充电观看(${result['msg']})");
|
||||
} else {
|
||||
SmartDialog.showToast("错误(${result['code']}):${result['msg']}");
|
||||
|
||||
Reference in New Issue
Block a user