By redboot
on Wed, 03/20/2013 - 09:55
This is my first post so excuse me if it's an obvious thing !
I'm using the Unity videoplayback and it works great in AR mode. When I switch to fullscreen mode, it also works fine unless you let the video play to the very end at which point it seems to be stuck. The screen stays black and won't switch back to the camera.
Vuforia video playback fullscreen iOS
Hi redboot,
This seems to be a known issue on the Unity / iOS side - though it seems to be more related to iOS6
Some have managed to roll their own solution as per this thread:
Vuforia video playback fullscreen iOS
Thanks NalinS. I'll take a look.
Vuforia video playback fullscreen iOS
I ended up switching off the DoubleTap() method inside Vuforia and made a UIToolkit button to go to full screen mode instead. Made the call from the buttons controller instead and it works ! Video plays to the end and then back into AR mode.
Vuforia video playback fullscreen iOS
Hi redboot,
It's awesome that you manage to fix this.
Could I please trouble you for a little more detail as I would like to try this out as well so that we can share as a workaround if anybody else has a similar problem?
Vuforia video playback fullscreen iOS
Not sure if this will shed any light on it at all TBH but for what it's worth...
Vuforia video playback fullscreen iOS
Many thanks for sharing :)
N
Vuforia video playback fullscreen iOS
Hello everyone,
I have faced the same problem than redboot. When I launch a video and wait for its end, it stops on a black screen and don't go back to my application.
Digging into the code, I have fixed the problem doing so :
Replace :
Vuforia video playback fullscreen iOS
Does anyone have an idea about my modification ?
I want to be sure that it will not cause problems that I didn't think :/
Vuforia video playback fullscreen iOS
I haven't had a chance to try it yet as I'm onto a different project but looking at it, it seems like it should be good on the iOS. We had similar issues but in reverse on Android devices. Once all the iOS code was stripped out for Android - it works. Worth looking out for.
Vuforia video playback fullscreen iOS
I have the same problem in iOS when the video reach the end -> black screen, nothing to do but force quit.
Vuforia video playback fullscreen iOS
Try with the latest version of Unity and the latest Vuforia.
This thread seems to indicate it can be solved accordingly.
https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/handheldplayfullscreenmovie-going-black
N
Vuforia video playback fullscreen iOS
Solved! Thanks NalinS! It was plugin version issue.