title: How I can remove the name of youtube Video in youtube javascript API?
body: <pre><code>     &lt;div id="ytplayer"&gt;&lt;/div&gt;
      &lt;script&gt;
          // Load the IFrame Player API code asynchronously.
          var tag = document.createElement('script');
          tag.src = "https://www.youtube.com/player_api";
          var firstScriptTag = document.getElementsByTagName('script')[0];
          firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
  
          // Replace the 'ytplayer' element with an &lt;iframe&gt; and
          // YouTube player after the API code downloads.
          var player;
          function onYouTubePlayerAPIReady() {
              player = new YT.Player('ytplayer', {
                  height:'390',
                  width:'640',
                  videoId:'A_aYVs_zFA8',
                  events:{
                      'onReady':onPlayerReady,
                      'onStateChange':onPlayerStateChange
                  }
              });
          }
  
          function onPlayerReady(event) {
              _isPlayerReady = true;
          }
          function onPlayerStateChange(event) {
              switch (event.data) {
                  case YT.PlayerState.ENDED:
                  $j  = jQuery.noConflict();
                  $j(".vid-flow").hide();
                  ShowCustomDialog();
                      break;
                  case YT.PlayerState.PLAYING:
                      break;
                  case YT.PlayerState.PAUSED:
                      break;
                  case YT.PlayerState.BUFFERING:
                      break;
                  case YT.PlayerState.CUED:
                      break;
                  default:
                      break;
              }
          }
  
  
      &lt;/script&gt;
  </code></pre>
  
  <p>In JavaScript I want to load a youtube player on 'ytplayer'  div. I am looking on this <a href="https://developers.google.com/youtube/iframe_api_reference#Operations" rel="nofollow">https://developers.google.com/youtube/iframe_api_reference#Operations</a> Somebody know how I can remove the name of video.</p>
  
  <p>I tried to get the iframe but if I do iframe my js code will not work. So someone have option to remove the name which is shown In top of youtube video embed. </p>