コード例 #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);
        }
コード例 #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);
 }
コード例 #3
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;
 }
コード例 #4
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;
 }