public override void SetClip(VideoInfo video) { var fileName = video.fileName; if (!fileName.EndsWith(".mp4")) { fileName = fileName + ".mp4"; } if (video.material != null) { mediaPlayerCtrl.GetComponent <MeshRenderer>().material = video.material; } mediaPlayerCtrl.Load(fileName); }