public void LoadVideo() { if (IsVideoMetadataLoaded()) { controller.PlayVideos(videoFiles, is3D, videoStereoFormat, autoPlay); } }
private void OnLoadVimeoVideoComplete(string response) { var json = JSON.Parse(response); if (json["error"] == null) { controller.PlayVideos(GetVideoFiles(json), is3D, videoStereoFormat); } else { Debug.LogError("Video could not be found"); } }