I have an mp4 file that, as part of the application, works great with MPMoviePlayerController.
[_mediaPlayer setContentURL:[NSURL fileURLWithPath:[[NSBundle mainBundle]
pathForResource:@"movie"
ofType:@"mp4"]]];
[_mediaPlayer play];
But as soon as I upload the same file to the web server, it will give me this error:
Error Domain=MediaPlayerErrorDomain Code=2
The safari browser on the same device plays the remote movie - therefore, accessibility is not a problem, I did not find any documentation about what Code 2 tells me. Therefore, I'm stuck.
Is anyone
Jakob source
share