namespace VideoBrowser.Core { /// /// Defines the /// public class YoutubeUrlHandler : UrlHandlerBase { #region Constructors /// /// Initializes a new instance of the class. /// internal YoutubeUrlHandler() : base("youtube.com") { } #endregion Constructors #region Methods /// /// The ParseFullUrl /// protected override void ParseFullUrl() { this.IsDownloadable = false; if (!this.FullUrl.Contains(this.DomainName)) { return; } if (this.FullUrl.Contains(@"youtube.com/watch?v=")) { this.IsDownloadable = true; } } #endregion Methods } }