Im getting this error when trying to play a video from my temp directory:
NSString *tmpDir = [NSTemporaryDirectory() stringByAppendingString:@\"/\"];
NSStrin
All. follow this answer to find the solution to this problem. devforums.apple.com/message/467199
I am on IOS 5 beta 2.
I got this because i had invalid parameters for movieSourceType, i thought you were supposed to put a MPMovieMediaTypeMask in there (video/audio,etc) but instead you are supposed to put a MPMovieSourceType. Fixing that made it work for me
try to check control style and source type. Im getting this error ,and when change source type to unknow(auto detect,maybe) It goes right.
I tried various solutions provided in apple dev forums. In my case what worked was just changing the source type from streaming to unknown:
// player.movieSourceType = MPMovieSourceTypeStreaming;
player.movieSourceType = MPMovieSourceTypeUnknown;
Use following statement to avoid such error. Please keep in mind that, THE sdk that you are using is under NDA.
[self.mPlayer.moviePlayer setControlStyle:MPMovieControlStyleDefault];