iframe无法在移动浏览器上显示

时间:2016-01-13 00:45:13

标签: php html5 wordpress iframe youtube

我有一个wordpress网站,其功能是在主页上添加最多5个youtube iframe。它在桌面上运行良好,但似乎尝试在移动浏览器上下载与视频网址同名的随机对象,并且不显示iframe。

任何人都知道造成这种情况的原因是什么?

这是代码示例

<div class="cols">
    <div class="col1">
        <h2 class="subheader">Videos</h2>
        <div class="col-sect">
            <div class="videoWrapper">
                <iframe width="854" height="480" src="https://www.youtube.com/v/5QtxQ4IuRgE" frameborder="0" allowfullscreen></iframe>
            </div>
        </div>
    </div>
</div>

感谢您的帮助

0 个答案:

没有答案
相关问题