title: How can I play a youtube video in windows media player?
body: <p>I have already in the form1 design a windows media player control.
  And this is how I'm getting my videos list and add them to a listBox:</p>
  
  <pre><code>static List&lt;string&gt; videosList = new List&lt;string&gt;();
          public async void RetrieveUploadsList()
          {
              UserCredentials();
              var youtubeService = new YouTubeService(new BaseClientService.Initializer()
              {
                  HttpClientInitializer = credential,
                  ApplicationName = Assembly.GetExecutingAssembly().GetName().Name
              });
  
              var channelsListRequest = youtubeService.Channels.List("contentDetails");
              channelsListRequest.Mine = true;
              var channelsListResponse = await channelsListRequest.ExecuteAsync();
              foreach (var channel in channelsListResponse.Items)
              {
                  var uploadsListId = channel.ContentDetails.RelatedPlaylists.Uploads;
  
                  Console.WriteLine("Videos in list {0}", uploadsListId);
  
                  var nextPageToken = "";
                  while (nextPageToken != null)
                  {
                      var playlistItemsListRequest = youtubeService.PlaylistItems.List("snippet");
                      playlistItemsListRequest.PlaylistId = uploadsListId;
                      playlistItemsListRequest.MaxResults = 50;
                      playlistItemsListRequest.PageToken = nextPageToken;
                      var playlistItemsListResponse = await playlistItemsListRequest.ExecuteAsync();
  
                      foreach (var playlistItem in playlistItemsListResponse.Items)
                      {
                              videosList.Add(playlistItem.Snippet.Title + "  " + playlistItem.Snippet.ResourceId.VideoId);
                              listBox1.Items.Add(playlistItem.Snippet.Title + "  " + playlistItem.Snippet.PublishedAt);
                      }
                      nextPageToken = playlistItemsListResponse.NextPageToken;
                  }
              }
              if (this.listBox1.Items.Count &gt; 0)
                  this.listBox1.SelectedIndex = 0;
          }
  </code></pre>
  
  <p>No what I have is in the listBox all my videos list and the first item selected already. Once the first item is selected I want to show in the windows media player the selected item video first image(frame) like in youtube that you see the first image(frame) and them make play to start it.</p>
  
  <p>And also to make that when I click on the windows media player play button it will play the video. (Do I need to download the video first? Or it will play it from the internet from youtube?)</p>
  
  <p>The windows media player variable is:</p>
  
  <pre><code>axWindowsMediaPlayer1
  </code></pre>
  
  <p>How can I make this two things?</p>