title: IOS MPMoviePlayerViewController Loading endlessly
body: <p>I'm working on a IOS App (With Storyoard). I have a ViewController:</p>
  <pre><code>//movieViewController.h
  
  #import &lt;UIKit/UIKit.h&gt;
  #import &lt;MediaPlayer/MediaPlayer.h&gt;
  
  @interface movieViewController : UIViewController {
  
      MPMoviePlayerViewController *moviePlayer;
  
  }
  
  @property (strong, nonatomic) MPMoviePlayerViewController *moviePlayer;
  -(void) playMovie;
  
  @end
  
  
  //movieViewController.m
  - (void)viewDidLoad
  {
      [super viewDidLoad];
  // Do any additional setup after loading the view.
      [self playMovie];
  }
  
  -(void)playMovie
  {
      NSString *videoPath = [[NSBundle mainBundle] pathForResource:@&quot;movie&quot;
                                                        ofType:@&quot;mov&quot;];
  
      moviePlayer = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL
                                                       fileURLWithPath:videoPath]];
  [self presentMoviePlayerViewControllerAnimated:moviePlayer];
  }
  </code></pre>
  <p>When I run I see my viewController with a &quot;Loading...&quot; that takes forever.
  <img src="https://i.stack.imgur.com/qn4ao.png" alt="enter image description here" /></p>