Take the 2-minute tour ×  I am streaming a video into my iPad
app from a server. I am using the following code:      NSURL
*videoURL = [NSURL URLWithString:@""];
MPMoviePlayerViewController* playerController =
[[MPMoviePlayerViewController alloc]
initWithContentURL:videoURL];
playerController.moviePlayer.view.frame = CGRectMake(50, 50,
200, 200); [self
presentMoviePlayerViewControllerAnimated:playerController];
playerController.moviePlayer.movieSourceType =
MPMovieSourceTypeStreaming; [playerController.moviePlayer play];
[playerController release];  This gives me no control over the
frame for the video and also the player quits after playing the
video once? How can i control the frame and allow "replays"?
The following code allows me the above functionality on a iPhone
and also on iPad(local videos only not streaming)  NSURL *url =
[NSURL URLWithString:strVideo];     moviePlayer =
[[MPMoviePlayerController alloc] initWithContentURL:url];
moviePlayer.view.frame = CGRectMake(50, 50, 480, 320);
moviePlayer