|
@@ -245,7 +245,7 @@ extension CommunityVideoListController: UICollectionViewDelegateFlowLayout,UICol
|
|
|
// MARK: - Logic
|
|
|
extension CommunityVideoListController {
|
|
|
|
|
|
- func startPlay(_ cell: CommunityVideoCoverCollectionCell?) {
|
|
|
+ func startPlay(_ cell: CommunityVideoCoverCollectionCell?) {
|
|
|
cell?.play()
|
|
|
}
|
|
|
|
|
@@ -365,6 +365,7 @@ extension CommunityVideoListController {
|
|
|
SwiftMoyaNetWorkServiceCommunity.shared().communityDeleteApi(postId: postId) { [weak self] (data) -> (Void) in
|
|
|
self?.videoItemList?.remove(at: row)
|
|
|
self?.collectionView.reloadData()
|
|
|
+ self?.playFirstVideoWhenViewDidAppeared()
|
|
|
}
|
|
|
}
|
|
|
}
|