"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

Starting the video full screen mode from where it stopped

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.

krzysztofz

Wed, 02/08/2017 - 08:32

In reply to by rafaeltls123

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!

 

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 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 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?