title: how to stop loop in Yuotube Api , 'loop': 0 is not working
body: <p>I am working on Youtube player API , want to stop the video to play in loop , but it is not working. is there any way to perform this?
  Here is my sample code</p>
  <pre class="lang-js prettyprint-override"><code>function onYouTubePlayerAPIReady() {
    player = new YT.Player(&quot;ytplayer&quot;, {
      width: &quot;100%&quot;,
      height: &quot;100%&quot;,
      videoId: &quot;M7lc1UVf-VE&quot;,
      playerVars: {
        autoplay: 1,
        showinfo: 0,
        autohide: 1,
        loop: 0,
        controls: 1,
        modestbranding: 1,
        vq: &quot;hd1080&quot;,
      },
      events: {
        onReady: onPlayerReady,
        onStateChange: onPlayerStateChange,
      },
    })
  }
  </code></pre>