Esempio n. 1
0
 public void SetVideoName(string title)
 {
     if (title != null && title != "")
     {
         if (saveCoroutine != null)
         {
             StopCoroutine(saveCoroutine);
         }
         api.SetVideoName(title);
         saveCoroutine = StartCoroutine("SaveVideo");
     }
 }
Esempio n. 2
0
        private void UploadComplete(string video_uri)
        {
            string[] uri_pieces = video_uri.Split("/"[0]);
            string   video_id   = uri_pieces[2];

            if (videoName != null && videoName != "")
            {
                api.SetVideoName(videoName);
            }

            api.SetVideoViewPrivacy(PrivacyMode.unlisted.ToString());

            api.SaveVideo(video_id);

            if (openInBrowser == true)
            {
                Application.OpenURL("https://vimeo.com/" + video_id);
            }
        }