"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

Returning from Fullscreen on VideoPlayback

Hi!On the VideoPlayback sample after I double tap a texture on my phone the fullscreen is activated, do you know how can I deactivate it if possible? I tried adding flags and code to play video on texture on the OnDoubleTapListener code but it didnt work, also when the video finish playing on fullscreen it doesnt return to normal view, it just stays with the las frame of the video and I have to press the back button to start againAny ideas of how can I return from a video playing in fullscreen?Thanks in advance!Regards

AlessandroB

Fri, 04/19/2013 - 18:38

Hi, in the VideoPlayerHelper class (see VideoPlayerHelper.java) you can find a method called onCompletion();

this method is part of the OnCompletionListener interface (which is implemented by the VideoPlayerHelper class), and it is called automatically when the video reaches the end;



Ok perfect thank you very much that should solve the case where the video finish playing. and int the case that  I want to return from fullscreen even when the video hasnt finished yet what dou you have in mind?

 

Currently, there dont have this method. Is some way to replace this method? I would like do as: when the video playing is finish in fullscreen mode, making some function.