I want to using MPMoviePlayerViewController to play the video file on my server. But It not works.
My iOS code are as bellow:
NSURL *mediaURL = [[NSU
You are pointing your MPMoviePlayerController at 127.0.0.1, which is the current device's IP. So your iOS app is looking for a web server hosting that file on your iPhone. Your code looks fine otherwise, you've just got to host the .mov somewhere valid.
After correcting the content URL, if the Error Domain=MediaPlayerErrorDomain Code=-11850 \"Operation Stopped\"
error still happens, it may be because your HTTP server does not support byte-range requests. See MPMoviePlayerPlaybackDidFinishNotification is called immediately for more information.