I am just trying to play a .mp4 video on android device through unity3d pro,but its not working.
The same code i have used for IOS device,then it is working fine,but not on android.
I couldn’t understand the issue,please help me.
Your code looks fine to me. On a side note, why have a separate class for Android video as opposed to iOS video? They both use the same video calls, and since you are using MP4 videos for Android, those work perfectly on iOS as well.
I ran into this issue as well and after a day of trying to figure out the problem, I finally discovered what the cause of my issue was: I had Unity 5 Pro & iOS Pro, but hadn’t upgraded to an Android Pro license yet.
Since your code looks correct, my recommendation would be to make sure you have both Unity 5 Pro & Android Pro licenses. I completely overlooked that part on my end, since on my team I do the iOS Pro builds and another team member does the Android Pro builds, so thus I had never needed my own Android Pro license before that moment.