My code looks like this:
void PlayVideo(string videoPath){
StartCoroutine( PlayVideoCoroutine(videoPath) );
}
protected IEnumerator PlayVideoCoroutine(string videoPath){
#if UNITY_IOS || UNITY_ANDROID
Handheld.PlayFullScreenMovie(videoPath, Color.white, FullScreenMovieControlMode.CancelOnInput);
#endif
yield return new WaitForEndOfFrame();
SceneManager.LoadScene ("sceneMenu");
}
FullScreenMovieControlMode.CancelOnInput should close the movie when the screen is tapped. I am updating an app using Unity 2017.1.p5 and testing on iOS 11.
The tap to cancel playback doesn’t work, but also when you double tap it zooms in on the movie whilst it is playing. Is this an iOS frameworks thing? Any ideas?
Thanks