We are trying to replace the teapot with a video in the cloud reco sample. Below is a snippet of the code that we are using. Please let me know if you have any thoughts...
// Iterate through the new results:
for (int i = 0; i < finder->getResultCount(); ++i)
{
const QCAR::TargetSearchResult* result = finder->getResult(i);
const char *metadata = result->getMetaData();
NSString *VidFile=[NSString stringWithFormat:@"http://ak5.picdn.net/shutterstock/videos/489670/preview/stock-footage-time-lapse-of-thundercloud-with-lightnings.mp4"]; //add video
NSString *url = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:VidFile];
playerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL fileURLWithPath:url]];
[[NSNotificationCenter defaultCenter]
addObserver:self
selector:@selector(movieFinishedCallback:)
name:MPMoviePlayerPlaybackDidFinishNotification
object:[playerViewController moviePlayer]];
[self.view addSubview:playerViewController.view];
//play movie
MPMoviePlayerController *player = [playerViewController moviePlayer];
[player play];
NSLog(@"URL:%s", metadata);
}