Exemple #1
0
 /// <summary>
 /// Attempts to find a YouTube video ID the specified string and get
 /// information about that video.
 /// </summary>
 /// <param name="subject">The string to search.</param>
 public static YouTubeVideo GetVideoFromString(string subject)
 {
     return(YouTubeVideo.GetVideoFromId(GetIdFromString(subject)));
 }
Exemple #2
0
 /// <summary>
 /// Gets information about a video with the specified.
 /// </summary>
 /// <param name="videoId">The ID of the video.</param>
 public static YouTubeVideo GetVideoFromId(string videoId)
 {
     return(YouTubeVideo.GetVideoFromId(videoId));
 }