How do I get a video to play?

I’ve recently started a project where I need to have a video play when the player enters an object. I would like to know how to script this in.

You need Unity Pro for this:

1.Import the video file into your project.
It will create a Movie Texture - http://docs.unity3d.com/Documentation/Manual/VideoFiles.html

2.You can use this movie texture on any object like a standard texture. E.G create a plane and drag the movie texture onto it.

3.If the movie had audio then create an audio soource and add it to the plane or where ever you want the audio to come from.

4.Now create a script that will play your audio and movie

public MovieTexture movie;
public AudioSource audioSrc;

public Start()
{
  movie.Play();
  audioSrc.Play();
}

Karl