I want to select an video file located in my iPhone and have to upload it to the server.
As UIImagePicker is used to select pictures available in our photo library or so
First Add the MediaPlayer
Framework...
Then download video of type mp4 from mobile9.com
then use the code as follows
NSString *url=[[NSBundle mainBundle] pathForResource: @"video" ofType:@"mp4"];
MPMoviePlayerController *play1= [[MPMoviePlayerController alloc] initWithContentURL:[NSURL
fileURLwithPath:url];
[play1 setOrientation:UIDeviceOrientationPortrait animated:YES];
[paly1 play];
try this code .....it's working..