public void UploadInit(string response) { VimeoVideo video = new VimeoVideo(JSONNode.Parse(response)); uploader.SetVideoViewPrivacy(VimeoApi.PrivacyModeDisplay.OnlyPeopleWithPrivateLink); uploader.SetVideoName("Large file test (" + Application.platform + " " + Application.unityVersion + ")"); uploader.SaveVideo(video); }
public void SetVideoName(string title) { if (title != null && title != "") { if (saveCoroutine != null) { StopCoroutine(saveCoroutine); } // DRY m_vimeoUploader.SetVideoName(title); saveCoroutine = StartCoroutine("SaveVideo"); } }