title: How to play multiple videos in YouTube Player API?
body: <p>I am trying to play a number of videos from YouTube using the <strong>YouTube Player API</strong> in Android Studio. I have the Video Id of each videos in different strings with name of video titles. Now I want the player to play video when each button with video title is clicked.</p>
  
  <pre><code>@Override
  public void onInitializationSuccess(YouTubePlayer.Provider provider, YouTubePlayer player, boolean wasRestored) {
      if (!wasRestored) {
          player.cueVideo("my_video_id_1");
      }
  }
  </code></pre>
  
  <p>Using this method, I don't know how to '<strong>change the string name</strong>' when second button is clicked to play the second video in the same player.</p>
  
  <p><strong>Any answers are highly appreciated!</strong></p>