Can someone kindly show me a javascript that will append this string:
&showinfo=0
to an iframe src attribute but only if the src contains youtube.com
So therefore this tag:
<iframe width="1280" height="720" src="https://www.youtube.com/embed/Yso_Ez691qw?feature=oembed" frameborder="0" allowfullscreen=""></iframe>
Will become:
<iframe width="1280" height="720" src="https://www.youtube.com/embed/Yso_Ez691qw?feature=oembed&showinfo=0" frameborder="0" allowfullscreen=""></iframe>
But only only on youtube urls not other iframes.