I want to know how far the video had progressed when the user closes the video.
So for I have this:
- (void) moviePlayerDidFinsh:(NSNotification*) notification
{
MPMoviePlayerController* moviePlayer = notification.object;
NSLog(@"FINISHED duration was:%f", moviePlayer.duration);
}
initialPlaybackTime and endPlaybackTime both seam to be useless.
There is a property
currentPlaybackTimein MPMediaPlayback protocol.% value = currentPlaybackTime/duration;