"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Wait for first frame

Hi Everyone,

I want to create simple AR card with a video.

I want the video and its audio to be shown only when the image is targeted by the camera.

When I ticked the "wait for the first time" a black screen appears.

When I ticked the "play on awake" the video has shown but the audio was playing from the beginning (not from the first time i enter the card to the frame)

I have read many of your post in this matter, none help me, and i don't understand anything which is related to script or code. 

what should i do?

Thanks a lot in advance!!!

 

Hi,

just add a new Event for OnTargetFound() and OnTargetLost() of you ImageTarget and drag&drop your Video Player Object on it. Then choose Videoplayer.play() and Videoplayer.pause() as events. See picture attached.