title: IOS trim video with range slider
body: <p>I am using range slider to trim running video.But I can't stop the video to the specific time. Here is the following code, that i am using:</p>
  
  <pre><code>- (void)videoRange:(SAVideoRangeSlider *)videoRange didChangeLeftPosition:   (CGFloat)leftPosition rightPosition:(CGFloat)rightPosition
  {
      self.startTime = leftPosition;
      self.stopTime = rightPosition;
      [self.movieController stop];
  
      MPMoviePlayerController *player = self.movieController;
      [player stop];
      [player setCurrentPlaybackTime:self.startTime];
      [player setEndPlaybackTime:self.stopTime];
      [player play];
  
  }  
  </code></pre>
  
  <p>setCurrentPlaybackTime is working, But  "setEndPlaybackTime" is not working. 
  Please help me to progress my project work.
  Thanks,
  Rohan</p>