title: AVPlayer not working on iPhone 5s 64bit iOS 7.0.3
body: <p>I'm trying to figure out an issue that only appears on the iPhone5s having to do with an AVPlayer playing a video. The issue is that a movie will play on all devices I have tested so far except for the 5s 64bit model.</p>
  
  <p>My theory is that it is tied to being 64bit but I haven't been able to tie it to anything. I found another stackoverflow post relating a similar issue with the fix being tied to using autolayout. However, I am not using autolayout.</p>
  
  <p>This code has been working great until the 5s:</p>
  
  <pre><code>-(void)viewWillAppear:(BOOL)animated
  {
      self.player = [[AVPlayer alloc] initWithURL:[NSURL URLWithString:@"http://www.somemovieurlhere.mp4"]];
      AVPlayerLayer *playerLayer = [AVPlayerLayer playerLayerWithPlayer:self.player];
      playerLayer.frame = self.view.bounds;
      playerLayer.backgroundColor = [UIColor orangeColor].CGColor;
      [self.view.layer addSublayer:playerLayer];
  
      [self.player play];
  }
  </code></pre>
  
  <p>I know the layer is added, because if you set the background color it shows up in the view, but no movie ever plays. In my project I can tell the movie is playing by logging out the "currentTime" property like so:</p>
  
  <pre><code>float time = CMTimeGetSeconds([player currentTime]);
  </code></pre>
  
  <p>Here is an image of the movie from an iphone4s and what I see in an iphone5s. I have also tested this with an original iphone5 and it works fine.</p>
  
  <p><a href="https://i.stack.imgur.com/Wu3Oym.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wu3Oym.png" alt="iphone4s"></a> <a href="https://i.stack.imgur.com/XFpTlm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XFpTlm.png" alt="iphone5s"></a></p>
  
  <p>Any ideas as to what might be causing this? Thanks in advance for any help.</p>