I have played a mp4 file using Objective-C code, but it's not supporting for .wmv files. How can I convert it?
NSString *path = [[NSBundle mainBundle] pathForResource:@"Movie-1" ofType:@"mp4" inDirectory:nil];
// Create custom movie player
moviePlayer = [[[CustomMoviePlayerViewController alloc] initWithPath:path] autorelease];
// Show the movie player as modal
[self presentModalViewController:moviePlayer animated:YES];
by above code I have done for mp4.