title: AVPlayerLayer shrink animation
body: <p>I am trying to do a "shrink" animation on AVPlayerLayer but as soon as I do it the video content simply disappears off the screen. Animating the UIView holding AVPlayerLayer works but not the AVPlayerLayer. What is the right way to animate it ?</p>
  
  <pre><code> CGRect oldBounds = playerLayer.bounds;
   CGRect newBounds = oldBounds;
   newBounds.size = CGSizeZero;
   CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"bounds"];
   animation.duration = 5.f;
   animation.beginTime = CACurrentMediaTime();
   animation.fromValue = [NSValue valueWithCGRect:oldBounds];
   animation.toValue = [NSValue valueWithCGRect:newBounds];
  
  
  [playerLayer addAnimation:animation forKey:@"shrink"];
  </code></pre>