|
@@ -201,6 +201,7 @@ extension MVPlayViewController: UICollectionViewDelegate, UICollectionViewDataSo
|
|
return
|
|
return
|
|
}
|
|
}
|
|
let cell: MVPlayControlViewCell? = collectionView.visibleCell() as? MVPlayControlViewCell
|
|
let cell: MVPlayControlViewCell? = collectionView.visibleCell() as? MVPlayControlViewCell
|
|
|
|
+ cell?.pauseClick()
|
|
if cell == nil {
|
|
if cell == nil {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -213,7 +214,6 @@ extension MVPlayViewController: UICollectionViewDelegate, UICollectionViewDataSo
|
|
}
|
|
}
|
|
currentIndex = indexPath
|
|
currentIndex = indexPath
|
|
itemData.playProgress = 0
|
|
itemData.playProgress = 0
|
|
- cell?.pauseClick()
|
|
|
|
PQSingletoVideoPlayer.shared.configPlyer(videoData: itemData, controllerView: cell!.coverImageView, renderMode: .RENDER_MODE_FILL_EDGE)
|
|
PQSingletoVideoPlayer.shared.configPlyer(videoData: itemData, controllerView: cell!.coverImageView, renderMode: .RENDER_MODE_FILL_EDGE)
|
|
PQSingletoVideoPlayer.shared.resetPlayer()
|
|
PQSingletoVideoPlayer.shared.resetPlayer()
|
|
if (indexPath?.item ?? 0) >= itemsList.count - 2 {
|
|
if (indexPath?.item ?? 0) >= itemsList.count - 2 {
|