链接是http://thecodeclub.org/ http://thecodeclub.org/还有一个 YouTube 视频。
在 Chrome 中工作正常,但 iframe 在 Safari 中仍为空白?
有其他人遇到过这个问题或者有解决办法吗?
<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>
最后是 https 导致了这个问题。将其更改为http,如下所示,效果很好。
<iframe width="560" height="315" src="http://www.youtube.com/embed/KX5PdVd1-OU" frameborder="0" allowfullscreen></iframe>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)