views:

35

answers:

1
MPMoviePlayerViewController* moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:myChartlyObj.video_url]];
        moviePlayerViewController.view.backgroundColor = moviePlayerViewController.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"st-screen.png"]];//[UIColor blackColor];
        [self presentMoviePlayerViewControllerAnimated:moviePlayerViewController];
        //[self presentModalViewController:moviePlayerViewController animated:YES];
        [moviePlayerViewController release];

this is how it gets presented. not sure why it would crash in horizontal orientation randomly?

Only crashes on device, no crash logs generated. Weird.

A: 

hi i think you are playing the video before its loaded to memory any way check this link which may help you http://cocoabugs.blogspot.com/2010/08/troubleshoting-iphone.html

jeeva