By tarun31
on Mon, 12/24/2012 - 17:40
Hey guys,
i was wondering if it was possible to add an videoview to the book_data_layout.xml in the cloud reco sample so as to play a video on the overlay view which pops up to show the book details? I tried but all that shows up is a blank space in the videoview area.
Tarun
Anybody any suggestions?
Anybody any suggestions?
Hi tarun31, this should be
Hi tarun31, this should be certainly possible.
I would recommend that you take a look at the VideoPlayback sample, which already shows how to overlay videos on top of an ImageTarget;
then you should be able to merge such feature with the Cloud Reco sample as well.
Add a video to BookOverlay in Cloud Reco sample
Hi,
I tried to overlay a video instead of book view. Videoplayback sample used android media player to play video. But I want to use <VideoView>.
I have 'video_layout.xml' which includes 'video_data_layout.xml'. VideoView is defined in data layout as follows
Add a video to BookOverlay in Cloud Reco sample
Hi, if you want to show a video on top of a trackable (i.e. aligned with the trackable plane in 3D), then the approach you are taking here will not work;
Add a video to BookOverlay in Cloud Reco sample
Hi,
Add a video to BookOverlay in Cloud Reco sample
Hi,
try to Log the value after this line:
targetPositiveDimensions[currentTarget] = imageTarget.getSize();
This should tell you if targetPositiveDimensions[currentTarget].data[0] or targetPositiveDimensions[currentTarget].data[1] is zero...
Add a video to BookOverlay in Cloud Reco sample
I tried..
Add a video to BookOverlay in Cloud Reco sample
This means tat your imageTarget.getSize() returns a vector with a null (zero) height;
you should try to see why this is happening (maybe check your DataSet XML...)
Add a video to BookOverlay in Cloud Reco sample
i just want to ask how to add a content of a book and what is the code and where do i paste it on a gameobject or on a arcamera?
Add a video to BookOverlay in Cloud Reco sample
See: https://developer.vuforia.com/resources/tutorials/creating-cloud-recognition-apps-unity