|
I'm having problems with video playback in Android. There is not much documentation on this, Unity docs only say to use iPhoneUtils.PlayMovie() Is this line of code supposed to work in Android?
I installed Quicktime and I have Android Pro. When I deploy the application to my tablet and reach the point to play the video the screens turns black and that's it. I tried with different versions of the video (mp4 and 3gp). The log shows:
Is there any working sample code using unity video playback in Android?
(comments are locked)
|
|
I found the problem. I knew that the video should be placed in the Streaming Assets folder, what I didn't know is that if you place it in another folder within Streaming Assets, you should include the folder name in the iPhoneUtils.PlayMovie() call. Hope this helps to anyone making this silly mistake. somewhat related links: http://answers.unity3d.com/questions/18503/how-integrate-video-before-menu-in-unity-iphone-ga.html and http://forum.unity3d.com/threads/80109-Does-iPhoneUtils.PlayMovie-work-on-Android-devices in my case the issue was the codec somehow. Videos would play on Android but not inside Unity.
Oct 18 '11 at 05:38 PM
Cawas
(comments are locked)
|
|
ONLINE STORE : ====( http://www.etradinglife.com )===== The website wholesale for many kinds of fashion shoes, like the nike,jordan,prada,****, also including the jeans,shirts,bags,hat and the decorations. All the products are free shipping, and the the price is competitive, and also can accept the paypal payment.,after the payment, can ship within short time. free shipping competitive price any size available accept the paypal jordan shoes $32 nike shox $32 Christan Audigier bikini $23 Ed Hardy Bikini $23 Smful short_t-shirt_woman $15 ed hardy short_tank_woman $16 Sandal $32 christian louboutin $80 Sunglass $15 COACH_Necklace $27 handbag $33 AF tank woman $17 puma slipper woman $30 ====( http://www.etradinglife.com )=====
(comments are locked)
|
