title: How to play Video in UIView using URL getting from server in iOS
body: <p>I want to play video in my UIView from the URL that i got from the JSON Response from server.</p>
  
  <p>This is code that i wrote to play video but nothing happens.</p>
  
  <pre><code> NSURL *movieURL = [NSURL URLWithString:objAlbum.strVideoURL];
   MPMoviePlayerController *moviePlayerController = [[MPMoviePlayerController alloc] initWithContentURL:movieURL];
  
  [moviePlayerController.view setFrame:self.movieView.bounds];  
  [self.movieView addSubview:moviePlayerController.view];
  
  // Configure the movie player controller
  moviePlayerController.controlStyle = MPMovieControlStyleNone;
  [moviePlayerController prepareToPlay];
  [moviePlayerController play];
  </code></pre>
  
  <p>In strVideoURL i'm getting video url.</p>