Editing the Default Trackable Event Handler Script so the video only plays when object detected

Опубликовано: 27 Апрель 2026
на канале: Ciaran Frayne
6,301
63

An explanation of how to edit the Default Trackable Event Handler Script so the video only plays when object detected.



If you were relying on HP Reveal for your AR, you may have found it has been discontinued.

I have made a guide explaining AR in Unity here:
https://docs.google.com/document/d/1E...

It is much more involved that HP Reveal, but obtaining familiarity with Unity is worthwhile anyway.

Please note Unity is constantly updated, so the process may be different depending on your version.

Videos featured in the guide are below. Please note these do not explain the entire process- use the guidebook (at the link above) first, and the tutorials as a supporting resource.

1.This video (from about 3.05) explains how to download Graphic converter.
   • Download Unity and Graphic Converter  

2.This video explains how to prepare your image.
   • Preparing your image  

3.This tutorial explains how to create a vuforia account.
   • Preparing your image  

4.This video explains how to transform your Quad.
   • Quad  transform  

5.This video explains how to import your video into Unity
   • Importing your video  

6.This video explains how to test your AR video.
   • Download Unity and Graphic Converter  

7.This video explains how to get the video to play ONLY when the object is detected.
   • Editing the Default Trackable Event Handle...  

8.This video explains how to set up the exit button so you can quit your app.
   • Editing the DefaultInitializationErrorHand...  

9.This video explains how to add a second image to your Unity app.
   • Bringing a second image into your app  

10.This video explains how to add the 2nd video to a Quad.
   • Adding your second video  

11.This video explains how to set up your phone to run the app.
   • Setting up your phone for your app  

12.This video explains how to build the app.
   • Building the app.