Hi all, i have some problem. I need play vido clip in my game. I am try to use for it
MPMoviePlayerController, but when i run my code - I see just black screen (
UIView *myView = Sparrow.currentController.view;
NSString* urlString = @"http://www2.gvovideo.com/video/45/624mMMkuHGMNx.mp4";
NSURL *url = [NSURL URLWithString:urlString];
MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:url];
[[player view] setFrame: [myView bounds]];
[myView addSubview: [player view]];
[player play];
please help