0
我使用JSON(HTML源代码),并且包含源的iframe像
如何在链接之前在iframe源代码中添加http?
<iframe src="//www.youtube.com/embed/b34jsdg" height="360" width="640" allowfullscreen="" frameborder="0"></iframe><br>
我无法www.youtube.com/embed/b34jsdg的链接,并使用此查询之前添加HTTP。
<script>$('iframe').each(function(){var a = 'https://'+$(this).attr('src');$(this).attr('src',a);});</script>