我有这样的:如何将iframe替换为另一个if type =“text/html”?
<iframe type="text/html" width="640" height="360"
src="http://widget.smartycenter.com/webservice/directYoutube/8982/YOUTUBE_CODE/640/360"
frameborder="0" allowfullscreen="" scrolling="no"></iframe>
如果iframe的类型是TYPE = “text/html的”我将它更换成
<iframe width="560" height="315" src="//www.youtube.com/embed/YOUTUBE_CODE"
frameborder="0" allowfullscreen></iframe>
我明白这一点:你问如何使iframe具有该类型的url更改。 – rvighne
是的,就是这样。我只想更改网址 – user204415
我想从youtube.com获得原始网址 – user204415