title: Get Video Title inside onLoaded() method
body: <p>I know that I can get Video Id inside onLoaded() method of YoutubePlayer StateChangeListener, like this:</p>
  
  <pre><code>    @Override
      public void onLoaded(String s) {
  
          // 's' contains Video ID
      }
  </code></pre>
  
  <p>But now just for an experiment, I want to know How could I get Video Title...</p>
  
  <p><strong>Updated</strong></p>
  
  <pre><code>    @Override
      public void onLoaded(String s) {
  
          // 's' contains Video ID
  
          Toast.makeText(YouTubeViewActivity.this, s, Toast.LENGTH_SHORT).show();
  
          String youtubeUrl = "https://www.youtube.com/watch?v=" + s;
          Toast.makeText(YouTubeViewActivity.this, youtubeUrl, Toast.LENGTH_SHORT).show();
  
          try {
              if (youtubeUrl != null) {
                  Toast.makeText(YouTubeViewActivity.this, "Found URL", Toast.LENGTH_SHORT).show();
  
                  URL embededURL = new URL("http://www.youtube.com/oembed?url=" + youtubeUrl + "&amp;format=json");
  
                  strTitle = new JSONObject(IOUtils.toString(embededURL)).getString("title");
                  Toast.makeText(YouTubeViewActivity.this, strTitle, Toast.LENGTH_SHORT).show();
              }
  
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
  </code></pre>