By rafaeltls123
on Tue, 02/07/2017 - 12:35
Okay, I'd like to see if anyone can help me. I'm using VideoPlayback from vuforia to see some videos through augmented reality. With this demo of VideoPlayback, when I point the camera to the image, the video appears and I click it to start working. When I click twice on the video it goes into full screen mode, but when it enters that mode, it returns the video to the beginning. I want it when I give two clicks it enters the full screen mode but starting from where it was when I gave the two clicks, that is, if it is in 0:30 video, when I click twice I wanted it to enter Full screen starting at 0:30. Does anyone know how to adjust this?
Thanks.
You do this in the Android
You do this in the Android Studio or Unity?
Unity
Unity
I suppose you use the example
I suppose you use the example script Vuforia VideoPlaybackTapHandler.cs.
This can be done, (for example), in this way:
Adding a variable that stores the value of the start of play, -> someVar
Hello krzysztofz!
Hello krzysztofz!
It did not work very well. I am using the same template downloaded on the magazine site, I just changed the video for mine and a target image for mine. At the VideoPlaybackTapHandler.cs script. Declare the variable:
Private float someVar;
Sorry about that, I looked at
Sorry about that, I looked at an older script, but I checked the current version Vufori and unfortunately it did not work as I think it should, as far as I could see that others also had a problem with it. Maybe try a different player to play fullscreen video.
As far as I understand, when
As far as I understand, when it goes into full screen mode it opens the video in the tablet player. What if I find a way to cancel the aperture on the tablet and instead have the video zoom in to the screen size? Do you think that would solve it? Could you help me with that?
It may be difficult. If I can
It may be difficult. If I can, I'll help
Thank you, I await your
Thank you, I await your assistance.