【发布时间】:2018-01-26 04:13:44
【问题描述】:
我有使用 https 托管的项目,我想在 iframe 中显示 http 内容。但我的问题是当我在 http 中加载网站时,页面上没有显示任何内容接受警告“该页面正在尝试从未经身份验证的来源加载脚本”。
<iframe id="demoSite" src="{{$product->demo_url}}" frameborder="0" width="100%" height="100%">
</iframe>
许多人会认为这是一个公认的答案。但在 2018 年,它并没有给你正确的答案。如果您有疑问,请参阅帖子下方的 cmets。 How to allow http content within an iframe on a https site
所以任何人都有解决方案,请帮助我解决它。谢谢
【问题讨论】:
-
简答:你不能。
标签: php laravel iframe laravel-5