Esempio n. 1
0
        public IStatusWatcher Publish(string title, string description, string tags, string categoryId, string categoryString, string permissionValue, string permissionString, string path)
        {
            YouTubeVideoUploader uploader = new YouTubeVideoUploader(path, YouTubeAuth.Instance.AuthToken, title, description, tags, categoryId, permissionValue, _youTubeVideoProvider.UrlAtomPattern);

            uploader.Start();
            return(uploader);
        }
Esempio n. 2
0
 public IStatusWatcher CreateStatusWatcher(Video video)
 {
     if (YouTubeAuth.Instance.IsLoggedIn)
     {
         YouTubeVideoUploader uploader = new YouTubeVideoUploader(YouTubeAuth.Instance.Username, YouTubeAuth.Instance.AuthToken, video.Id, _youTubeVideoProvider.UrlAtomFormat);
         uploader.Start();
         return(uploader);
     }
     return(null);
 }
 public IStatusWatcher Publish(string title, string description, string tags, string categoryId, string categoryString, string permissionValue, string permissionString, string path)
 {
     YouTubeVideoUploader uploader = new YouTubeVideoUploader(path, YouTubeAuth.Instance.AuthToken, title, description, tags, categoryId, permissionValue, _youTubeVideoProvider.UrlAtomPattern);
     uploader.Start();
     return uploader;
 }
 public IStatusWatcher CreateStatusWatcher(Video video)
 {
     if (YouTubeAuth.Instance.IsLoggedIn)
     {
         YouTubeVideoUploader uploader = new YouTubeVideoUploader(YouTubeAuth.Instance.Username, YouTubeAuth.Instance.AuthToken, video.Id, _youTubeVideoProvider.UrlAtomFormat);
         uploader.Start();
         return uploader;
     }
     return null;
 }