title: How to play a YouTube video in WPF using C#
body: <p>I want to play a YouTube video in my WPF application. I am using Google API and successfully get information about video but i don`t understand how to play a video. Here is my code which is i used for retrieve information.</p>
  
  <pre><code>  YouTubeRequestSettings setting = new YouTubeRequestSettings("MyAPP", "ID");
    YouTubeRequest request = new YouTubeRequest(setting);
    YouTubeQuery myQuery = new YouTubeQuery(YouTubeQuery.MostPopular);
    myQuery.OrderBy = "viewCount";
    Feed&lt;Video&gt; videoFeed = request.Get&lt;Video&gt;(myQuery);
    foreach (Video item in videoFeed.Entries)
         {
            listBox1.Items.Add(item.Title);
         }
  </code></pre>
  
  <p>thank`s</p>