title: How to dynamically add wmode=transparent to Youtube embed code?
body: <p>I have several Youtube videos that are added through a CMS by a client. I need to add the following to all Youtube src links:</p>
  
  <pre><code>?wmode=transparent
  </code></pre>
  
  <p>How would I do that?</p>
  
  <p>An example of the Youtube embed code is as follows:</p>
  
  <pre><code>&lt;iframe width="515" height="292" src="http://www.youtube.com/embed/p8IB-5PbL9U" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>The reason for doing this is because I have a javascript menu that is going behind a Youtube video and I've read that this is how you fix it.</p>
  
  <p><strong>The client isn't technical at all and just having them get the embed code from Youtube is a struggle, so it needs to be added dynamically.</strong> </p>