// twitter private bool getTwitterVideoInfo(string url) { TwVideo vm = new TwVideo(); vm.Label += new TwVideo.StatusDelegate(displayLog); if (!vm.getVideoInfo(url)) { return(false); } try { this.creationDate = vm.creationDate; this.duration = vm.duration; this.urlThumb = vm.urlThumbVideo; this.listVideoMetadata = vm.listVideos; this.listVideoQuality = vm.listQuality; this.videoTitle = vm.videoTitle; } catch (Exception ex) { return(false); } return(true); }
// twitter private bool getTwitterVideoInfo(string url) { TwVideo vm = new TwVideo(); vm.Label += new TwVideo.StatusDelegate(displayLog); if (!vm.getVideoInfo(url)) { return false; } try { this.creationDate = vm.creationDate; this.duration = vm.duration; this.urlThumb = vm.urlThumbVideo; this.listVideoMetadata = vm.listVideos; this.listVideoQuality = vm.listQuality; this.videoTitle = vm.videoTitle; } catch (Exception ex) { return false; } return true; }