# 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:** [2017 年1 月 31 日 23:07 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:** 3

<div class="post-metadata">

作者： ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
发布日期： [2017 年2 月 1 日 04:34 UTC](https://meta.discourse.org/t/embed-an-iframe-on-a-discourse-hosted-site/56676/3 "2017-02-01T04:34:28Z")

</div>

> [@Falco](#):
>
> The correct approach is the app to provide an oembed,

That looks very promising. The problem is that I’m creating the iframe on a WordPress site. It looks like it could be setup as an oembed provider, but I haven’t yet figured out how to do that.

For now, I’m just going to add the iframe to a post with javascript. That works well for what I need to do.

---

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