title: Wrap a div around every iframe
body: <p>I want to wrap a div around every iframe automatically with one piece of php code. Can anyone help me in the right direction?</p>
  
  <p>I'm using a CMS where users can add embedded youtube videos, but the videos are not responsive on my website. So I want to make them responsive, that's why have to add a div around every iframe.</p>
  
  <p>The output I need is:</p>
  
  <pre><code>&lt;div class="generated-div"&gt;
      &lt;iframe width="640" height="360" src="https://www.youtube.com/embed/23523wsfw" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
  &lt;/div&gt;
  </code></pre>