Video Player not working

Hi,

I am failing at playing a simple video under unity free 2017.1.0f3 personal

I am working on a game and I’d like to play an introduction video at the start of the app. Then move onto the login screen whenever the player clicks it.

I have created a video player object, draggged and dropped the video clip (mp4) into the video clip field of the object.

I then attached the object to the camera. In the script attached to the camera I created a public VideoPlayer that i have populated with the video player object.

I then execute :

void Awake ()
{
VideoPlayer.Play();
}

But nothing happens.

perhaps it should be executed within a separate thread (coroutine) ? I tried but did not work either.

Any help please ?

Thanks

set camera to near plane or far plane in video player’s render mode.

1 Like