# Oneboxing media.ccc.de videos

**URL:** <https://meta.discourse.org/t/oneboxing-media-ccc-de-videos/56154>\
**Category:** Feature\
**Created:** [2017年一月22日 06:44 UTC](https://meta.discourse.org/t/oneboxing-media-ccc-de-videos/56154 "2017-01-22T06:44:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2017年一月22日 06:44 UTC](https://meta.discourse.org/t/oneboxing-media-ccc-de-videos/56154/1 "2017-01-22T06:44:56Z")

</div>

I’d love to be able to onebox videos like this one on [ccc.de](http://ccc.de). Doesn’t currently work or I haven’t figured out how.

```
<iframe width="1024" height="576" src="https://media.ccc.de/v/33c3-8349-hacking_the_world/oembed" frameborder="0" allowfullscreen></iframe>

https://media.ccc.de/v/33c3-8349-hacking_the_world#video&t=1601

```

---

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [2017年一月22日 13:20 UTC](https://meta.discourse.org/t/oneboxing-media-ccc-de-videos/56154/2 "2017-01-22T13:20:29Z")

</div>

I think you can’t do that because it is an `<iframe>` and they are not supported by Discourse.

But there is a [plugin](https://github.com/scossar/whitelist-iframe) that you can install to whitelist iframes and add it in your post.

Ping @simon

---

<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:** [2017年一月22日 19:42 UTC](https://meta.discourse.org/t/oneboxing-media-ccc-de-videos/56154/3 "2017-01-22T19:42:08Z")

</div>

Yes, that plugin works. It’s not a great solution because it requires people to fork the plugin and add regular expressions for the iframes they wish to whitelist to a javascript file.

I’m wondering if there could be a general iframe onebox, that would return a webpage as an iframe if given a URL something like this:

`https://media.ccc.de/v/33c3-8349-hacking_the_world/oembed?iframe_onebox=true`

It would be useful for integrating WordPress sites with Discourse forums.
