I am using the MPMoviePlayerController to play movies:
STVideo *mySTVideo;
mySTVideo = [items objectAtIndex:indexPath.row];
moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:mySTVideo.video_url]];
moviePlayerViewController.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"st-screen.png"]];
[self presentMoviePlayerViewControllerAnimated:moviePlayerViewController];
[moviePlayerViewController release];
[tableView deselectRowAtIndexPath:indexPath animated:YES];
This works great on the iPhone 4, but on an iPhone 3G, it shows the view and then automatically dismisses it. Why?