precheck video dimension

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-23 17:08:51 +08:00
parent efc202c10f
commit 5b5983ed50
32 changed files with 237 additions and 81 deletions

View File

@@ -38,7 +38,9 @@ class HotVideoItemModel extends BaseRcmdVideoItemModel with MultiSelectData {
duration = json["duration"];
owner = Owner.fromJson(json["owner"]);
stat = HotStat.fromJson(json['stat']);
dimension = Dimension.fromJson(json['dimension']);
dimension = json['dimension'] == null
? null
: Dimension.fromJson(json['dimension']);
firstFrame = json["first_frame"];
pubLocation = json["pub_location"];
dynamic rcmd = json['rcmd_reason'];