As you are adding player.moviePlayer.view
to content view.
So while retrieving you will get reference to player.moviePlayer.view
only not MPMoviePlayerViewController
.
My suggestion is don't create multiple MPMoviePlayerViewController
instance. You can add some UIButton
or UIImageView
on cell with snapshot of particular video. And while playing only you can create MPMoviePlayerViewController
instance and play your video