I used MPMoviePlayerController in my application to play the selected video. There is also the ability to run videos from different places, for example, from 10 minutes, 20 minutes, 40 minutes, etc.
Problem in iOS 7:
The problem is when the video is playing. I can pause it, but it does not resume after a pause. And also the pause button does not turn into a play button. After clicking the pause button, none of the notifications, such as "MPMoviePlayerPlaybackStateDidChangeNotification", is activated. And the same problem occurs when a video is played in full screen.
Problem in iOS 6:
The only problem here is that the pause button does not turn into a play button. Here the video pause and resume works correctly in full screen as well.
one weird behavior:
For one video, when I play it from 40 minutes, it just works fine. None of the above problems arise. But the same video does not work when playing from the beginning or 10.20 minutes.
I searched a lot, but I found only one post here related to this problem. But this solution does not work for me.
Does anyone know how to solve this?
source share