- Home /
Question by
spongetron30 · Apr 01, 2014 at 02:47 PM ·
iosiphonehandheld
Handheld.PlayFullScreenMovie on iOS not loading video
Hey Guys
Recently i brought Unity Pro for the video feature. After having a quick look online i found the code to get video working on iOS and life was good. However, for the past 3 days ive been trying this code and i cant get it to work. Ive tried changing the file format of the movie (its currently .mp4) ive tried putting it in Start, Update and Awake but nothing is working. When i play the screen just stays blue.
Just for clarity i have a scene with just a camera in and this is what the video script is attached to. The video is stored in StreamingAssets which is in the Assets folder. Here is my code
using UnityEngine;
using System.Collections;
public class VideoScropt : MonoBehaviour {
void Awake () {
}
void Start () {
Handheld.PlayFullScreenMovie ("Intro.mp4", Color.black, FullScreenMovieControlMode.CancelOnInput);
}
void Update()
{
}
}
Help me Unity Community. Your my only hope
Comment