Hi Guys, This is my code for load the video using MPMoviePlayerController my issue is i can hear the voice of the video but can't see the video. can any one give me the solution!!!
note:"AddRunningClient starting device on non-zero client count" this message is display while i run my application in console
now i'm working IOS4.1 sdk
- (void)viewDidLoad {
[super viewDidLoad];
NSString *mediaPath = [[[NSBundle mainBundle]resourcePath] stringByAppendingPathComponent:@"understandingoilcost_1500kbps.mov"];
MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:mediaPath]];
moviePlayer.scalingMode = MPMovieScalingModeAspectFit;
[moviePlayer play];
}
Please help me out!
Thanks.