Youtube嵌入代码无法在HTML中使用

时间:2014-07-04 06:35:22

标签: html youtube embed youtube-javascript-api

最近我面临youtube嵌入代码问题。 Youtube嵌入代码在浏览器中不起作用。我试过不同的方法。

<iframe  id="1_07" type="text/html" src="http://www.youtube.com/embed/Gh1diZ9F2DI?rel=0&hd=1&wmode=transparent" frameborder="0" height="200">

<iframe width="560" height="315" src="http://www.youtube.com/embed/Gh1diZ9F2DI" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="https://www.youtube.com/embed/Gh1diZ9F2DI?rel=0" frameborder="0" allowfullscreen></iframe>

1 个答案:

答案 0 :(得分:1)

我将您的代码放在我的页面中并且完美运行。如果你使用firefox,请查看此链接 https://support.mozilla.org/en-US/questions/967209