title: iOS: HTTP Live Streaming to app, Video won't play
body: <p>I'm have some video files ready for streaming on my server. Here's the code I'm trying to use to play them in an iOS app:</p>
  
  <pre><code>    Video *vid = [videos objectAtIndex:index];
      NSURL *vidUrl = [NSURL URLWithString:vid.videoUrl];
      NSLog(@"%@",vid.videoUrl);
      MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:vidUrl];
      player.controlStyle=MPMovieControlStyleEmbedded;
      [player.view setFrame:self.view.bounds];
      [self.view addSubview:player.view];
      [player play];
  </code></pre>
  
  <p>If I copy and paste the URL the NSLog spits out into Safari, the video plays fine. So I know the URL is good. But in my app, I just get a black screen. What's wrong with my code?</p>