"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

Help Needed

Hi.. i customized  videoplayback sample app to my database and own videos and images.. Application is running well.. now what i want is when the video is playing on the texture if we tap means it will pause.. i don't want to pause the video instead of that i want to load url of that video in browser.  

 Intent viewIntent = new Intent(Intent.ACTION_VIEW,
                                         Uri.parse("www.google.com"));

 

i gave the above code in isplayedon texture function.. but my application is froce closing .. can anyone suggest me how to achieve this.. please provide details .. 

AlessandroB

Wed, 04/10/2013 - 08:16

Hi,

you need to correct the Uri from "www.google.com" to "http://www.google.com"  (the http:// part is fundamental)

Hi ... i need one more help from you.. if i single tap the video in fullscreen mode means my url has to load ... second help is it possible to play the video after removing the camera from recognized image ?

 

 please reply me ..

second help is it possible to play the video after removing the camera from recognized image ?

Ya... its playing in full screen ... can i load url when video tapped in full screen mode?? if can how can i?

I tried calling onsingletapconfirmed().  But when i double tap it directly loads url.. not entering into fullscreen..pls suggest me.

Hi, this is already shown in the VideoPlayback sample, except that the sample plays the fullscreen video for an "on-double-tap" event (instead of the onSingleTap);

just check the code in VideoPlayback.java and you should be able to do that.

 

hi, when it is double tapped the media control is goes to  system player control so how do we control that time  player again tapped once it goes to another URL

Hi Ram95,

if I understand correctly, you want to open a web page, but also play the video in fullscreen at the same time ?