Hey all,
I am using the Vuforia Video Playback Sample App I'm attempting to call a URL directly after playback using Application.OpenURL(). This works as expected when the video plays on the texture in 3D space (the video finishes and my webview is called directly after).
However, when running the app on a device that does not support playback in 3D space on the texture, the video plays fullscreen and then just returns to the AR scene upon completion.
Is there an event that gets fired when the fullscreen video completes and returns to the Unity view? I need to be able to send users to the URL after a fullscreen playback finishes using Application.OpenURL();\
I can't seem to see a specific callback in the logcat that informs Unity the video is finished upon returning to the scene.
Any assistance would be great!
Vince
Hey patch24,
That's the implementation I ended up using as a duct-tape fix for now. I'd prefer to respond to the actual callback/event fired when returning to Unity from a fullscreen movie player.
This strategy works but, as mentioned, is called if the app is paused even outside of the one instance where it's paused/resumed for the fullscreen playback. It's not bulletproof but gets the job done for now.
Vince