title: youtube video 400 network when try to play video
body: <p>I am try to play video using youtube video API</p>
  
  <p>When I put static ID means declare ID in file at that time code is working.</p>
  
  <p>But when I try to fetch ID from getIntent() I also got ID but video not play.</p>
  
  <p>I got There was problem with network.</p>
  
  <p>Below is my code. Its working in this condition.</p>
  
  <pre><code>public String VIDEO = "QqnBjKnwCwE";
  
  youTubeView = (YouTubePlayerView) findViewById(R.id.youtube_view);
          youTubeView.initialize(DEVELOPER_KEY, Videosshow.this);
  
  @Override
      public void onInitializationFailure(Provider provider,
              YouTubeInitializationResult error) {
          Toast.makeText(this, "Oh no! " + error.toString(), Toast.LENGTH_LONG)
                  .show();
      }
  
      @Override
      public void onInitializationSuccess(Provider provider,
              YouTubePlayer player, boolean wasRestored) {
  
          player.loadVideo(String.valueOf( VIDEO));
      }
  </code></pre>
  
  <p>Now When I used</p>
  
  <pre><code>Bundle data = getIntent().getExtras();
  
          VIDEO=data.getString("videourl");
          youTubeView = (YouTubePlayerView) findViewById(R.id.youtube_view);
          youTubeView.initialize(DEVELOPER_KEY, Videosshow.this);
  </code></pre>
  
  <p>not working I got 400 Network problem error</p>