hi
i have a problem;
MPMoviePlayerViewController does'n work ios 4.3 with 3gp
i need help.
thanks ;
my codes;
NSString *path = [[NSBundle mainBundle] pathForResource:@"movie1" ofType:@"3gp"];
movieUrl = [NSURL fileURLWithPath

ath];
video = [[VideoViewController alloc] initWithURL:movieUrl];
UINavigationController *nController = [[UINavigationController alloc] initWithRootViewController:video];
nController.modalPresentationStyle = UIModalPresentationFullScreen;
nController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self.navigationController presentModalViewController:nController animated:YES];
[nController release];
-----
MPMoviePlayerViewController *mp = [[MPMoviePlayerViewController alloc] initWithContentURL:theURL];
[theURL retain];
if (mp)
{
self.movie = mp;
[mp release];
[self presentMoviePlayerViewControllerAnimated:movie];
[self.view addSubview:movie.view];
self.movie.moviePlayer.movieSourceType = MPMovieSourceTypeFile;
[movie.view setCenter:self.view.center];
movie.moviePlayer.shouldAutoplay = YES;
[movie.moviePlayer play];
}