Video not working - please assist.

Hello. Thanks for reading my post. I am using Unity 5.0.1 (personal) on Macbook Pro.

Here is what I did -

1 - Created a plane primitive (oriented and positioned it to face the 2D orthographic camera).
2 - Imported my video (which is a 8 MB .mp4 video).
3 - Created a new material - Set it up as Unlit → Texture. Assigned the .mp4 video to the material.
4 - placed the material on my plane primitive (Mesh renderer of the plane primitive, then dropped the video to Element 1).

Problem -
The problem is that is does not work and I can’t find out why. I’m not sure what to try next as far as troubleshooting this issue. Does anyone know what I did wrong? And what I have to do to fix this video to work? I just want the video to play when I use the play button in Unity. It’s my introduction video. :smile:

Thanks for any help on this.
-Kind regards, Joe

I went through the DOCS again and I found something in there I did not notice before -

((MovieTexture)GetComponent().material.mainTexture).Play();

I put that in a new C# file I created and it works great now. I wanted to update this post in case anyone else has a problem with their video not playing, try the line of code above. :slight_smile:

Lastly, I applied a Audio Source component for the sound and just hooked up the audio file (in case anyone wanted to know that).