By piroshi
on Thu, 07/25/2013 - 02:49
Hi I'm developing an app in Unity that uses CloudRecognition and video playback. I download videos from a server and store them into the device. The app looks to work fine in IOS but when I build and run the app for Android the app crash after download the video. I tried a lot of things and I decided to start from scratch and modify the original playback example. I found that the app works only when the path variable of VideoPlaybackBehaviour has a valid video path in the editor. Even if I change the path to my video. The problem is that the video plane size and ratio never changes, it has the dimentions of the original video on the editor. I think that the problem is to initialize the VideoPlaybackBehaviour or VideoPlayerHelper but I can't find where to do that. I also destroyed de video Transform and created again but it didn't work either. What can I do??thanks
Video doesn't play in Android device
The source of your issue seems to come from this code in VideoPlaybackBehaviour.cs:
Video doesn't play in Android device
Video doesn't play in Android device
Video doesn't play in Android device