title: Youtube Player API hide controls, hide info, hide related videos?
body: <p>I am trying to load a Youtube video in the home page (Chromeless) useing JavaScript API.
  So far I managed to make it auto play, hd720 and fadeOut the video once it is finished.</p>
  
  <p>But I can't find a way to remove controls, hide info and not to load related video at the end.</p>
  
  <p>I know in iframe embed I can use below parameters</p>
  
  <pre><code>controls=0&amp;showinfo=0&amp;autoplay=1&amp;rel=0
  </code></pre>
  
  <p>But I can't find way to use these parameters in YouTube Player API shown below.
  Any suggestion?</p>
  
  <pre><code>&lt;script src="http://www.youtube.com/player_api?enablejsapi=1&amp;version=3"&gt;&lt;/script&gt;
  
    function onYouTubePlayerAPIReady() {
              player = new YT.Player('video_chromeless', {
                  height: '800',
                  width: '450',
                  videoId: '',
                events: {
                  'onReady': onPlayerReady,
                  'onStateChange': onPlayerStateChange
                }
              });
          }
  function onPlayerReady(event){
              player.setPlaybackQuality('hd720');
              event.target.playVideo();
          }
   function onPlayerStateChange(event) {
              if(event.data === 0) {
                  $('#video_chromeless').fadeOut(600);
              }
          }
  </code></pre>