"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

Video doesn't play in Android device

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

I tried to change the size with the function InitVideoTexture but it has this comment:
 
// Create texture of size 0 that will be updated in the plugin (we allocate buffers in native code)
 
I think that is the problem.

I'll change my question since it looks to be the only way to solve my problem.
How can I create the video object and initialize it after that.  what function do I need to execute?
 
Thank you