none
xxx.uri ; convert to VB.net code ?

    Question

  • ///C# working
      private async void omansak()
            {
                var url  = await MyToolkit.Multimedia.YouTube.GetVideoUriAsync("xXLgek3ggEM", MyToolkit.Multimedia.YouTubeQuality.Quality360P);
                wb1.Source = url.Uri;
                wb1.Play();
                
            }
    
    ///VB.net not working
    
        Private Sub omansak()
            Dim url = YouTube.GetVideoUriAsync("RdF-0lhZtJI", YouTubeQuality.Quality144P)
    
    
            wb1.Source = New Uri(url)
            wb1.Play()
    end sub()
    
    
    ///on the wb1.source line : "Error: ...cannot converted to string"
    
    ///how to fix it ?


    • Edited by OMANSAK Monday, August 3, 2015 10:10 AM
    Monday, August 3, 2015 9:44 AM

All replies