# Allow embeds for hidden vimeo videos

**URL:** https://meta.discourse.org/t/allow-embeds-for-hidden-vimeo-videos/64112
**Category:** Support
**Created:** [7. Juni 2017 um 15:47 UTC](https://meta.discourse.org/t/allow-embeds-for-hidden-vimeo-videos/64112 "2017-06-07T15:47:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![rohmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rohmann/32/120852_2.png) [@rohmann](https://meta.discourse.org/u/rohmann)
#### Post date: [7. Juni 2017 um 15:47 UTC](https://meta.discourse.org/t/allow-embeds-for-hidden-vimeo-videos/64112/1 "2017-06-07T15:47:37Z")

</div>

Is there a way I can embed a Vimeo video using their iframe embed code?

When using OneBox, it fails because of the video’s privacy settings in Vimeo. I have it configured to be hidden, but allow embedding on my domain. OneBox only seems to work if the video is public.

Thanks!

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [7. Juni 2017 um 16:19 UTC](https://meta.discourse.org/t/allow-embeds-for-hidden-vimeo-videos/64112/2 "2017-06-07T16:19:30Z")

</div>

You could try whitelisting vimeo for iframes using the whitelist-iframe plugin:

> [@Supporting iframe embeds from different domains?](https://meta.discourse.org/t/supporting-iframe-embeds-from-different-domains/30930/2):
>
> iframes can now be whitelisted through the allowed\_iframes Site Setting. It accepts a list of iframe src domain prefixes that discourse can safely allow in posts. The whitelist-iframe plugin is no longer required. What I have done is make a plugin that calls the Discourse.Markdown.whiteListIframe function. The plugin is very simple, The hard part is that you have to supply regular expressions to match any URLs you want to white-list. The code is here. [https://github.com/scossar/whitelist-ifram…](https://github.com/scossar/whitelist-iframe)

---

<div class="post-metadata">

### Author: ![rohmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rohmann/32/120852_2.png) [@rohmann](https://meta.discourse.org/u/rohmann)
#### Post date: [7. Juni 2017 um 20:10 UTC](https://meta.discourse.org/t/allow-embeds-for-hidden-vimeo-videos/64112/3 "2017-06-07T20:10:41Z")

</div>

Thanks! I’ll take a look.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [16. Juni 2019 um 05:16 UTC](https://meta.discourse.org/t/allow-embeds-for-hidden-vimeo-videos/64112/4 "2019-06-16T05:16:47Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [23. November 2022 um 19:17 UTC](https://meta.discourse.org/t/allow-embeds-for-hidden-vimeo-videos/64112/5 "2022-11-23T19:17:06Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [23. November 2022 um 19:47 UTC](https://meta.discourse.org/t/allow-embeds-for-hidden-vimeo-videos/64112/6 "2022-11-23T19:47:20Z")

</div>


