该链接为http://thecodeclub.org/,并且有一个YouTube视频。
在Chrome中运行良好但iframe在iframe中仍然是空白的吗?
是否有其他人遇到此问题或有过修复?
<div class="wrapper wrapper-style2">
<article id="work">
<header>
<h2>What Most Schools Don't Teach</h2>
<p>Even rap stars are learning to code...</p>
</header>
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/nKIu9yen5nc?rel=0" frameborder="0" allowfullscreen></iframe>
</div>
<a href="#courses" class="button button-big">The Courses.</a>
</article>
</div>
答案 0 :(得分:2)
最终导致问题的是https。将其更改为http,如下所示,它工作正常。
<iframe width="560" height="315" src="http://www.youtube.com/embed/KX5PdVd1-OU" frameborder="0" allowfullscreen></iframe>