youtube.play method not available

Apr 27, 2013 at 8:42 AM
Edited Apr 27, 2013 at 8:43 AM
hi
am using the following code to play youtube video
     YouTube.Play(source, true, YouTubeQuality.Quality480P, e =>
            {
                  if (e != null)
                      MessageBox.Show(e.Message);
            });
but its showing that YouTube.Play method is not available.
Apr 27, 2013 at 9:43 AM
hey its working now . i had given the same name as Youtube.play in mytoolkit control
   <mytoolkit:YouTubeButton Name="YouTube"></mytoolkit:YouTubeButton>