How To Resume my Video which I did pause in AVplayer?
<p>I have made one sample demo which plays one video in my view.</p>

<p>Code:</p>

<pre><code>- (IBAction)playVideo:(id)sender
{
    NSURL *videoURL = [NSURL fileURLWithPath:[[NSBundle mainBundle]pathForResource:@"sample_Video" ofType:@"mp4"]];
    self.player = [AVPlayer playerWithURL:videoURL];

    AVPlayerLayer* playerLayer = [AVPlayerLayer playerLayerWithPlayer:self.player];
    playerLayer.frame = self.videoView.bounds;
    [self.videoView.layer addSublayer:playerLayer];
    [self.player play];
    self.slider.hidden = NO;
    self.playButton.enabled = NO;
    self.pauseButton.enabled = YES;

}

-(IBAction)pauseVideo:(id)sender
{
    [self.player pause];
    self.playButton.enabled = YES;
    self.pauseButton.enabled = NO;

}
</code></pre>

<p>My question is when I clicked on Play my video plays.
When I clicked on pause my video pauses.</p>

<p>But when I clicked again play it starts again beginning.
I want resume functionality.</p>