I'm using the Google.Apis.Youtube.v3 plugin in .NET MVC.
var service = _youTubeService.GetYouTubeService;
var searchReq = service.Search.List("snippet");
searchReq.ChannelId = "exampleIdGoesHere"; // search this channel
searchReq.Q = "acoustic"; // search term
var model = new YouTubeViewModel {
Data = searchReq.Execute().Items
}
return View(model);
In my view, my goal is to embed the videos. But so far, the only relevant information I can get are the search result's title and description. The items, each being a SearchResult
object, is not exactly a Video
- which I'm looking for.
Two questions: - How do you retrieve videos that are from a specific user only (using the .NET plugin)? - How do you get the video information such as URL, for embedding purposes?