Quote:
Originally Posted by japaternoster
Using the tutorials that you have seen, simply change the code that retrieves the remote video to the following. This will retrieve a local file.
Code:
NSString *rootPath = [[NSBundle mainBundle] resourcePath];
NSString *filePath = [rootPath stringByAppendingPathComponent:@"example.mov"];
NSURL *fileURL = [NSURL fileURLWithPath:filePath isDirectory:NO];
yourMoviePlayer = [[MPMoviePlayerController alloc] initWithContentURL: fileURL];
|
Need help on this one as well.
Where should the example.mov file be located in the XCODE?
Thanks.