I want a Source code to play video with URL and when clicks on Next and Previous button its should play another video with other URL.......
plz reply fast
if any one can help.......
I m doing its with the help of this code
-(void)viewWillAppear
{
[[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
[self becomeFirstResponder];
}
- (BOOL)canBecomeFirstResponder {
return YES;
}
- (void)remoteControlReceivedWithEvent

UIEvent *)event {
if( event.type == UIEventTypeRemoteControl ) {
NSLog(@"sub type: %d", event.subtype);
}
}
but - (void)remoteControlReceivedWithEvent

UIEvent *)event function is not getting called
Can any one help
So plz help me