title: iOS - MPMoviePlayerController failing to play video from remote URL
body: <p>So I have a video being accessed by filepicker.io that is attempting to be played with an MPMoviePlayerController.  So far I've tried everything from trying to load the video directly from the FilePicker URL to grabbing the NSData and loading it into the local filesystem.  This is my current code, but all that happens is I get a blank screen and the [movieplayer load state] returns 0 (error code).  I've verified that the file is there and that it is an MOV filetype.</p>
  
  <blockquote>
    <p>NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); </p>
  </blockquote>
  
  <pre><code> NSString *documentsDirectory = [paths objectAtIndex:0];
   movieString = [documentsDirectory stringByAppendingPathComponent:@"vid.mov"];
   [responseData writeToFile:movieString atomically:YES];  
  
   NSURL *url = [NSURL fileURLWithPath:movieString];
   MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL: url];
   [moviePlayer prepareToPlay];
   [moviePlayer.view setFrame: self.view.bounds];
   [self.view addSubview: moviePlayer.view];
   [moviePlayer play];
  </code></pre>