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);
    }
Exemple #2
0
        private IEnumerator SaveVideo()
        {
            yield return(new WaitForSeconds(1f));

            if (video != null)
            {
                m_vimeoUploader.SaveVideo(video);
            }
        }