title: jQuery - remove video auto play on click
body: <p>I am using:</p>
  
  <pre><code>$("#vid1")[0].src += "&amp;autoplay=1";
  </code></pre>
  
  <p>to automatically start a video when a button is clicked and its sets the source as: </p>
  
  <pre><code>https://www.youtube.com/embed/LKFrlPDM6CE?rel=0&amp;amp;autoplay=1
  </code></pre>
  
  <p>How can I remove the autoplay=1 and set it to autoplay=0 when I click a second button.</p>
  
  <p>Thanks</p>