title: HTML5 Video Auto Click Pause on load jQuery
body: <p>I am creating a Chrome Extension which pauses the video on YouTube on load. At the moment when you click a video on YouTube it will automatically play, however I would like to pause it instead. I have found the element for the play button and at the moment I have made script, however it isn't working. Is it possible to automatically click something using jQuery?</p>
  
  <p>Script:</p>
  
  <pre><code>$(document).on("DOMSubtreeModified", function() {
     $(".ytp-button-play").trigger("click");
  });
  </code></pre>
  
  <p>Also, the element for the video itself is <code>#movie_player</code> and I have tried the .load() method for that element but it isn't working either.</p>
  
  <p>Here is the Inspect Element:
  <img src="https://i.stack.imgur.com/pRd4n.png" alt="enter image description here"></p>
  
  <p>Any help will be appreciated :) Thanks</p>