how to make my movieTexture loop forever

Can anyone help me make my Movie Texture loop?

I have added this line of code to make it Play, but I want the texture to loop forever. Thank you!

using UnityEngine;
using System.Collections;

public class VideoController: MonoBehaviour {

// Use this for initialization
void Start () {
	MovieTexture movie = GetComponent<Renderer>().material.mainTexture as MovieTexture;
	movie.Play ();

}

// Update is called once per frame
void Update () {

}

}

There is a attribute for that.

Just add this to your Start() and you should be good to go :

movie.loop = true;

Yes, thank you!!! I figured it out myself ten minutes after posting. Sorry to waste your time, I’m not sure how to get back to my post and say that yet.

cheers again!