|
|
@@ -182,7 +182,9 @@
|
|
|
playerContainer.backgroundColor = [UIColor blackColor];
|
|
|
[cell.contentView addSubview:playerContainer];
|
|
|
[cell.contentView sendSubviewToBack:playerContainer];
|
|
|
-
|
|
|
+ // 创建播放器
|
|
|
+ JXSuperPlayer *player = [[JXSuperPlayer alloc] initWithContainerView:playerContainer];
|
|
|
+ player.delegate = self;
|
|
|
// 右侧互动按钮
|
|
|
[self setupInteractionButtonsForCell:cell];
|
|
|
|
|
|
@@ -286,9 +288,7 @@
|
|
|
// episodeTitleLabel.numberOfLines = 2;
|
|
|
// [episodeInfoView addSubview:episodeTitleLabel];
|
|
|
|
|
|
- // 创建播放器
|
|
|
- JXSuperPlayer *player = [[JXSuperPlayer alloc] initWithContainerView:playerContainer];
|
|
|
- player.delegate = self;
|
|
|
+
|
|
|
// 播放视频
|
|
|
[player playWithAppId:episode.appId fileId:episode.fileId psign:episode.psign];
|
|
|
|