# 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:** [January 31, 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:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [January 31, 2017, 11:29pm UTC](https://meta.discourse.org/t/embed-an-iframe-on-a-discourse-hosted-site/56676/2 "2017-01-31T23:29:23Z")

</div>

The correct approach is the app to provide an `oembed`, so it will onebox and will be able to use an iframe inside the onebox.

Like a Google Maps uses an iframe:

https://maps.google.com/maps?ll=-23.6070449,-46.5407708&z=16&output=embed&dg=ntvb&q=Vila+Industrial,+S%C3%A3o+Paulo+-+State+of+S%C3%A3o+Paulo

---

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