"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

Overlay video over target image

Hi Experts, I have Dominoes as the reference and I'm able to play video in a VideoView in a separate activity. I am interested in showing this in a overlay view. Also, I would like to limit the bounds of the video view to the tracked image. Please advice. Best regards, Lucky

We are pleased to announce the release of the Vuforia Video Playback sample app. This app is available for native Android and in Unity for iOS and Android.

gringofxs

Thu, 06/21/2012 - 22:22

Unity error (Assets/Scripts/TrackableEventHandler.cs(23,38): error CS0246: The type or namespace name `ITrackableEventHandler' could not be found. Are you missing a using directive or an assembly reference?)

 

What should be?

Please also import the Vuforia SDK into your project that you have imported the Video tutorial into. This will correct the error and allow your application to run on your android device.

Thank you,

-PEter

Hey Peter,

Thanks for sharing the sample, I'm able to build it on 4.0. When running this on Android 2.3.3, the video runs in full screen mode. 

Please guide me on overlaying the video on the tracker image for Android 2.3.+ devices as well.

Best regards,

Lucky

nazeerbai

Mon, 11/12/2012 - 13:06

What is the vuforia SDK you are talking about? I have imported the unity package..... and also the videoplayback package from asset store...what else is require? I am also getting the same error

AlessandroB

Mon, 11/12/2012 - 14:53

Just to clarify a bit:

as ppreuss said, the video on texture only works on Android 4.0 (ICS) and above;

the reason for this is that on the Android side it requires the class SurfaceTexture and (on the OpenGL side) the GL_EXTERNAL_TEXTURE_OES extension;