I am starting to develop an iPhone. I have an MPMoviePlayerController object that loads a video from my application resource. I set backgroundColor MPMoviePlayer to clear the color. I set the shouldAutoplay property to NO. Before the user presses the play button, a blank screen is displayed. I tried to get the first image using the following method
UIImage *thumbnail = [self.videoPlayer thumbnailImageAtTime:0 timeOption:MPMovieTimeOptionNearestKeyFrame];
But where should I set this image so that the black screen that appears before the user presses the play button will contain only a thumbnail. Please, help.
source share