Hi. I have Unity Android Pro 3.2. I’m on a PC. I cut and pasted this script out of Unity Script reference page and I can’t seem to get a movie to play on the Android phones. What am I doing wrong? I created an empty game object in my “0” scene of the game and dropped this script on it. I created a “StreamingAssets” folder and placed it in with all of my project files. I Dropped my 264/mp4 movie into the “StreamingAssets” folder. I built the scene, then hit start. Nothing! Blank screen. The movie doesn’t play. I move the Streaming Assets folder into my Standart Assets folder. Again nothing! Then I dropped the “StreamingAssets” folder along with the movie file(264 compression mp4) and put it into Standard Assets(Mobile). Nothing! Blank screen. I loaded it on my Android phone. Nothing! no movie plays. I just get a blank screen. Can someone please give me a suggestion? I must be missing something.
function Start() {
iPhoneUtils.PlayMovie("MyMovie44", Color.black, iPhoneMovieControlMode.CancelOnTouch);
}
PS “CancelOnTouch” in the above code is not highlighted in my script editor. It’s black. I don’t know if this matters. But any suggestions you have would be appreciated.
Thanx