|
@@ -97,7 +97,13 @@ class CommunityVideoCoverCollectionCell: UICollectionViewCell {
|
|
|
backgroundColor = UIColor.white
|
|
|
setupViews()
|
|
|
setupLayouts()
|
|
|
+ }
|
|
|
+
|
|
|
+ // Neccessary - 清除待复用Cell原先的player
|
|
|
+ override func prepareForReuse() {
|
|
|
+ super.prepareForReuse()
|
|
|
|
|
|
+ videoPlayView.cancelLoading()
|
|
|
}
|
|
|
|
|
|
required init?(coder aDecoder: NSCoder) {
|