public bool LoadVideoFromYoutube(string URL) { try { // Experimental youtube support var videos = YoutubeHelper.GetVideoURLs(URL); /* * cbVideoStreams.Items.Clear(); * foreach (YoutubeHelperVideoLink l in videos) * { * cbVideoStreams.Items.Add(l.QualityName); * } */ if (videos.Count <= 0) { return(false); } media.SetMedia(new Uri(videos[0].VideoURL)); return(true); } catch { return(false); } }