title: Applying attr to an iframe
body: <p>I'm trying to apply attr <code>allow="autoplay;</code> to my iframe shown in this image. </p>
  
  <p><a href="https://i.stack.imgur.com/w1uMx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w1uMx.png" alt="enter image description here"></a></p>
  
  <p>I've tried </p>
  
  <pre><code>jQuery(".esg-entry-media-wrapper iframe").attr("allow", "autoplay;");
  </code></pre>
  
  <p>But it's not working. </p>
  
  <p>EDIT : Works with the code below. </p>
  
  <pre><code>jQuery("document").ready(function() {
      setTimeout(function() {
       jQuery(".esg-vimeo-frame").attr('allow', 'autoplay');  
  
      },1000);
  });
  </code></pre>