i m parsing a json feed containg you tube feeds where i m trying the play the youtube in a fixed frame .when i click the button i getting black background could u guys help me out below is the code
-(void)watchClip:(id)sender
{
NSLog(@"hello how should this be:%@",URL);
NSURL *fileURL=[NSURL URLWithString:[URL stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
MPMoviePlayerController *moviePlayerController = [[MPMoviePlayerController alloc] initWithContentURL:fileURL];
moviePlayerController.view.frame=CGRectMake(28,15,250,130);
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(moviePlaybackComplete:)
name:MPMoviePlayerPlaybackDidFinishNotification
object:moviePlayerController];
//moviePlayerController.fullscreen = YES;
[v addSubview:moviePlayerController.view];
[moviePlayerController play];
}