G’day all, I was wondering if Discourse supports <iframes>, I have been trying to embed multiple different websites into Discourse yet none seem to work. I’ve tried with Time and Date, Google Maps just to name a few without any success.
2 个赞
Did you add the domains to the allowed iframes setting?
5 个赞
Yes I did add the required domains for the iframes.
1 个赞
Does it work if you use safe-mode?
your.site.com/safe-mode
Do you see any error in the browser console?
Are the iframes added to the post and not working or are they not added at all?
Can you share a link to your site?
2 个赞
Here’s the site: AFC - Best aviation community ever
There aren’t any errors being shown and the <iframes> are added in fully.
They still didn’t work in safe mode.
1 个赞
Any updates on this yet?
各位,
我似乎也无法让 iframe 工作。例如,YouTube 的 onebox 可以正常工作,但每当我们发布链接时,它们都不会显示如下:
在撰写帖子时,我可以看到链接左侧有一个加载圆圈,但最终它只会显示实际链接而不是 iframe。
我查看了其他几个帖子,并尝试了建议的故障排除(以安全模式访问网站,将特定域添加到允许的 iframe 管理员设置),但没有链接变成 iframe。
管理设置中是否有其他设置会阻止此功能正常工作?