I created my imageTarget with my AR camera. On my imageTarget I have a plane with a videoPlayer attached to it.
When I run it, even before I can establish TrackingFound, the video starts playing but I can't see it. When I establish TrackingFound, the video shows up. When TrackingLost, video keeps playing. It will loop if I have that checked and it would loop endlessly even though I have TrackingLost.
Here's what I'm trying to do:
I would like to activate an imageTarget and show a video. When TrackingLost(), pause video for 2f. If Tracking found, resume video, else TrackingFound, reset video to 0f. If TrackingLost() is > 2f, stop video and reset to 0f.
The DefaultTrackableEventHandler.cs that is attached to the image target has no way to control the videoPlayer. I would expect that this would be built in because it works for everything else other than video.
I am using:
Unity 2017.2.0f3 (64-bit) with Vuforia 6.5
Please Help. I've been working on this for 3 weeks straight. I am new to Unity and Vuforia and I am a newbie to C#.
If you need more from me please let me know.