whitelist-iframe 的替代品

With Discourse 1.9, I was using the whitelist-iframe plugin below.

https://github.com/scossar/whitelist-iframe

with Discourse 2.0, the plug-in no longer works. I am trying to use the Discourse whitelist feature, but need help understanding how to embed an iframe into a Discourse post.

Under admin settings, I have listed the whitelist as follows:

My post contains the following:

<iframe src="http://theta360.guide/thetapicts/michal2.html" width="800" height="425"></iframe>

I’m expecting 360 image to be embedded in the post with navigation (I can rotate the image).

Is there something else I need to do?

Note that the Discourse site I’m using does not have https on it right now, primarily because I’m not sure how to set that up. If there’s a tutorial on how to set up https, that would be nice too. :slight_smile:

我想您正在寻找新的 allowed iframes 设置。尝试将您的网站添加到该列表中?

有关此内容,请参阅 Set up HTTPS support with Let's Encrypt SSH 连接到您的服务器并重新运行 ./discourse-setup 以启用 SSL。如果此方法无效,请按照链接主题中的步骤操作。

6 个赞