When I play a video by doing this:
NSString *videoFilepath = [[NSBundle mainBundle] pathForResource:@"bacon" ofType:@"mov"];
NSURL *videoURL = [NSURL fileURLWithPath:videoFilepath];
MPMoviePlayerController *movie;
movie = [[MPMoviePlayerController alloc] initWithContentURL:videoURL];
[movie play];
at 3.2, it works pefeectly. But if I switch the base SDK to 4.0, I only hear the sound of the movie.
Any ideas?
source
share