简体   繁体   English

导致普通iframe不在php页面上显示的内容?

[英]Something that cause plain iframe not to show on php page?

<div class="grid-5-12">
<iframe width="200" height="120" src="http://www.saweb.info/videos/nightclub.mp4" frameborder="0"></iframe>
</div>

I copied above direct from an "admin page" from Firefox developer page source and it works as standalone, but on the admin page itself it doesn't appear (it always did) 我从Firefox开发人员页面源代码的“管理页面”直接复制了上面的代码,它可以独立运行,但在管理页面本身上却不显示(它总是显示)

It also doesn't show even without the div. 即使没有div,它也不会显示。 (It's in a parsley form and the iframe show the "current selected video") (采用欧芹格式,并且iframe显示“当前选定的视频”)

Tested in Chrome and it also doesn't display while I can't find any similar error on the internet. 在Chrome中进行了测试,当我在互联网上找不到任何类似的错误时,它也不会显示。

Anyone perhaps has an idea why the iframe don't appear / disappeared please? 也许有人知道为什么iframe不出现/消失?

is not used for play videos but to display another page. 不用于播放视频,而是用于显示其他页面。 Some browsers might support this way of importing a video. 某些浏览器可能支持这种导入视频的方式。 But correct way to use tag like this for your video link. 但是正确的方法是将这样的标记用于您的视频链接。

<video width="200" height="120" controls>
  <source src="http://www.saweb.info/videos/nightclub.mp4" type="video/mp4">
</video>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM