Replacement for 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:

image

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:

I think you’re looking for the new allowed iframes setting. Try adding your site to that?

See Setting up HTTPS support with Let's Encrypt for that. You should be able to ssh to your server and re-run ./discourse-setup to enable SSL. If that doesn’t work, follow the steps in the linked topic.

6 Likes