By shivintu
on Wed, 06/20/2012 - 17:05
Hi All,
I understood the concept of tracking an image in Image Targets sample code.
I am able to track the image which I uploaded using Target Management Tool.
When ever image got tracked, instead of displaying another image on top of tracked image is it possible to play a video on top of the traced image using AR?
I tired to play using below code
-(void)renderFrameQCAR{
[self performSelectorOnMainThread:@selector(playVideo) withObject:nil waitUntilDone:NO];
}
-(void)playVideo{
MPMoviePlayerController *videoViewCont = [[MPMoviePlayerController alloc]initWithContentURL:[NSURL fileURLWithPath:@"WP_000019-qcif-180k.mov"]];
[videoViewCont play];
[videoViewCont.view setFrame:self.bounds];
[self addSubview:videoViewCont.view];
}
the method is getting called but video is not playing.
please give your valuable suggestions.
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image
Playing Video Over the image in Android
Re: Playing Video Over the image
Re: Playing Video Over the image
Re: Playing Video Over the image