My main camera won't start?

I have a small problem. I made a intro cinematic and after it’s done playing the camera that follows the player around doesn’t work. The game still runs and I don’t get a error message at all. Is there a way to make the script automatically turn off the camera that has the animation?

This is what I have for the camera script

 using UnityEngine;
    using System.Collections;
    public class OpeningCutscene : MonoBehaviour {
    	public GameObject player;
    	public void TriggerPlayer()
    		player.SetActive (true);
    		gameObject.SetActive (false);

You need to put this not on the camera. The script disables itself, and therefor it cant enable itself.

QuickFix: Put this on the player instead of the camera, and refrence the camera as

public Camera cam;
//Then use this instead of gameObject.setActive();