# Embed an iframe on a Discourse hosted site

**URL:** <https://meta.discourse.org/t/embed-an-iframe-on-a-discourse-hosted-site/56676>\
**Category:** Feature\
**Created:** [31 Gennaio 2017, 11:07pm UTC](https://meta.discourse.org/t/embed-an-iframe-on-a-discourse-hosted-site/56676 "2017-01-31T23:07:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [31 Gennaio 2017, 11:07pm UTC](https://meta.discourse.org/t/embed-an-iframe-on-a-discourse-hosted-site/56676/1 "2017-01-31T23:07:59Z")

</div>

I have a client who would like to be able to embed an iframe on a Discourse hosted site. As far as I can tell, it isn’t currently possible to whitelist an iframe through a site customization - the post is cooked on the server, so adding a new regexp to `_validIframes` in a customization has no effect.

The best I’ve been able to come up with is to embed the iframe through Codepen. That works as a proof of concept, but the UI isn’t right for what we’re trying to do.

The goal is to be able to embed an iframe that’s generated on a WordPress site to create a map of the forum’s users. Something similar to what is outlined here: [Visual map of users - #8 by simon](https://meta.discourse.org/t/visual-map-of-users/44020/8)

Is this something that there is any demand for? If so, does anyone have an idea of how to approach it?

---

_[View the full topic](https://meta.discourse.org/t/embed-an-iframe-on-a-discourse-hosted-site/56676)._
