Просмотр исходного кода

在二级页面断网,退回一级页面,有个空白弹框

huangxiaodong месяцев назад: 10
Родитель
Сommit
644140c26c

+ 13 - 0
创维盒子/双子星云手机/Class/Set/previewFile/videoPlayByAVPlayerViewController.m

@@ -104,6 +104,11 @@
         [self videoPlayerDidFun];
     };
     
+    self.playerManager.playerDidToEnd = ^(id<ZFPlayerMediaPlayback>  _Nonnull asset) {
+        @zf_strongify(self)
+        [self playerDidToEndFun];
+    };
+    
     //数据埋点
     [[netWorkManager shareInstance] DataEmbeddingPointBy:4 withEventValue:@"Video_preview"];
     
@@ -779,4 +784,12 @@
         }
     }
 }
+
+#pragma mark 播放完成
+- (void)playerDidToEndFun
+{
+//    [_controlView.portraitControlView playBtnSelectedState:YES];
+//    [_controlView.landScapeControlView playBtnSelectedState:YES];
+}
+
 @end

+ 1 - 1
创维盒子/双子星云手机/NAS/NASViewController.m

@@ -915,7 +915,7 @@
 
       SuperModel *model = [[SuperModel alloc] initWithDictionary:responseObject error:nil];
 
-       if (model.status == 0) {
+       if (model && model.status == 0) {
 
            HWVersionModel *model = [HWVersionModel mj_objectWithKeyValues:responseObject[@"data"]];
            [self checkVersion:model];

+ 6 - 6
创维盒子/双子星云手机/cloudPhone/websocket/RCCommandHelp.h

@@ -200,7 +200,7 @@ NS_ASSUME_NONNULL_BEGIN
 /**
  * @brief 申请上传文件 请求
  *
- * @param taskUid
+ * @param taskUid xx
  * @param filePath 传file name
  */
 + (NSString *)applyForUploadFileBy:(NSString*)taskUid filePath:(NSString *)filePath;
@@ -237,7 +237,7 @@ NS_ASSUME_NONNULL_BEGIN
 /**
  * @brief 下载文件
  *
- * @param taskUid
+ * @param taskUid xx
  */
 + (NSString *)applyForDownloadFileBy:(NSString *)taskUid withFilePath:(NSString *)filePath withPosition:(long)position;
 
@@ -251,10 +251,10 @@ NS_ASSUME_NONNULL_BEGIN
 /**
  * @brief 上传和备份文件完成
  *
- * @param taskUid
+ * @param taskUid xx
  *
- * @param fileName
- * @param isUploadType
+ * @param fileName xx
+ * @param isUploadType xx
  */
 + (NSString *)uploadOrBackupsDoneBy:(NSString *)taskUid withFileName:(NSString *)fileName
                            withType:(BOOL)isUploadType;
@@ -262,7 +262,7 @@ NS_ASSUME_NONNULL_BEGIN
 /**
  * @brief 下载缩略图
  *
- * @param taskUid
+ * @param taskUid xx
  */
 + (NSString *)applyForDownloadThumbnailFileBy:(NSString *)taskUid withFilePath:(NSString *)filePath withPosition:(long)position;
 

+ 1 - 1
创维盒子/双子星云手机/zh-Hans.lproj/Localizable.strings

@@ -578,7 +578,7 @@
 "cloudPhone_tvShow_before_fullscreen_tip"   = "TV投屏时全面屏功能受限,请关闭投屏后使用。";
 "mine_net_LAN"   = "内网";
 "mine_net_WAN"   = "外网";
-"mine_net_unLink"   = "未接";
+"mine_net_unLink"   = "未接";
 "mine_help_title"   = "帮助与反馈";
 "mine_newuser_title"   = "新手引导";
 "mine_sn_cancel_title"   = "注销";