I work with MPMoviePlayerController for the iOS platform and donβt know why the βFinishβ and βDownload movie ...β controls do not appear automatically when a new video is uploaded.
My initial implementation was to use the UIWebView control to stream video, and when the video is available, the Finish and Download Movie ... controls are displayed until the video has been downloaded and played. I would like to reproduce the same user interface with MPMoviePlayerController.
Do I have to get Finish and Download Movie ... for free? If not, what do I need to configure so that they appear during video upload?
NSURL *videoUrl = [NSURL URLWithString:urlString]; self.moviePlayer = [[[MPMoviePlayerController alloc] init] autorelease]; self.moviePlayer.movieControlMode = MPMovieControlModeDefault; [self.moviePlayer setContentURL:videoUrl]; [self.moviePlayer prepareToPlay]; [self.view addSubview:self.moviePlayer.view]; [[self.moviePlayer view] setFrame: [self.view bounds]]; [self.moviePlayer setFullscreen:YES animated:YES];
source share