I have a collectionView which displays some videos in its cells. I pass the AVPlayer to the subclass of the UICollectionViewCell in datasource method cell
collectionView
cell