播放代码:

NSURL *url = [NSURL URLWithString:@"http://xxxxxxx."];

 MPMoviePlayerViewController *playerController = [[MPMoviePlayerViewController alloc] initWithContentURL:url];

 [self presentMoviePlayerViewControllerAnimated:playerController];
 playerController.moviePlayer.movieSourceType = MPMovieSourceTypeStreaming;

 [playerController.moviePlayer play];