I'm trying to change the currentPlaybackRate of MPMoviePlayerController to slow down a video.
This is my source code:
moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:url];
[moviePlayer setCurrentPlaybackRate:0.5];
moviePlayer.currentPlaybackRate = 0.5;
I really don't understand. Where is my error (because there is no error in my console) ?
This is the Apple Documentations:
MPMoviePlayerController (class):
https://developer.apple.com/library/ios/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/
MPMediaPlayback (protocol): https://developer.apple.com/library/prerelease/ios/documentation/MediaPlayer/Reference/MPMediaPlayback_protocol/index.html#//apple_ref/occ/intfp/MPMediaPlayback/currentPlaybackRate
Can you help me ?