Hello,
I am trying to run a video on an android emulator as I do my device is out of commission for now. But when I try to run the scene it gives a black screen on a blue background for 2 seconds and then just changes to a blue screen. But the video doesn’t play.
I attached the code on an empty game object first and then also to the camera after removing it from the gameobject. Somehow I can’t wrap my head around the concept.
Could you please give me some pointers on how to proceed or could you tell me if it would work on a device even though it does not work on emulator.
void Start() {
Handheld.PlayFullScreenMovie
("movie.mp4", Color.blue,
FullScreenMovieControlMode.Hidden,
FullScreenMovieScalingMode.AspectFill);
}
I have Unity pro trial version.