Commit f5713e9db56c667e25aac3588c127d6f41d7e4f6

Authored by zhangxiaowen
1 parent 58776f7c

no message

CNLiveScioLive/Pages/Live/Controller/CNLiveViewController.m
... ... @@ -374,14 +374,14 @@ static NSString *indicatorTableViewCell = @"CNLiveIndicatorTableViewCell";
374 374 CNLiveModel *model = self.data[indexPath.row];
375 375 NSDictionary *dic = [model toDictionary];
376 376  
377   - if ([model.videoFlag isEqualToString:@"0"]){
378   - //查看发布会预告
379   - OldArticleDetailViewController *vc = [[OldArticleDetailViewController alloc] initWithDictionary:dic];
380   - vc.title = dic[@"cmsColumnName"];
381   - vc.hidesBottomBarWhenPushed = YES;
382   - [self.navigationController pushViewController:vc animated:YES];
383   - return;
384   - }
  377 +// if ([model.videoFlag isEqualToString:@"0"]){
  378 +// //查看发布会预告
  379 +// OldArticleDetailViewController *vc = [[OldArticleDetailViewController alloc] initWithDictionary:dic];
  380 +// vc.title = dic[@"cmsColumnName"];
  381 +// vc.hidesBottomBarWhenPushed = YES;
  382 +// [self.navigationController pushViewController:vc animated:YES];
  383 +// return;
  384 +// }
385 385  
386 386 VideoPlayBackViewController *vc = [[VideoPlayBackViewController alloc] initWithDictionary:dic];
387 387 vc.title = model.cmsColumnName;
... ...
CNLiveScioLive/Pages/Live/Controller/VideoPlayBackViewController.m
... ... @@ -35,16 +35,17 @@
35 35 }
36 36 url = [url stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
37 37 movieUrl = [NSURL URLWithString:url];
38   -
  38 +
39 39 } else {
40 40 isPlay = NO;
41   -
42 41 }
43 42  
44 43 } else {
45   - isPlay = YES;
  44 + isPlay = NO;
46 45  
47 46 }
  47 +
  48 + NSLog(@"movieUrl -> %@",movieUrl);
48 49 videoHeight = MainScreenWidth * (9.0 / 16.0);
49 50  
50 51 }
... ...