# Video embeds from facebook.com and other sites fail

**URL:** <https://meta.discourse.org/t/video-embeds-from-facebook-com-and-other-sites-fail/149366>\
**Category:** Bug\
**Created:** [April 26, 2020, 5:44pm UTC](https://meta.discourse.org/t/video-embeds-from-facebook-com-and-other-sites-fail/149366 "2020-04-26T17:44:10Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![pnoeric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pnoeric/32/177144_2.png) [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**Post date:** [April 28, 2020, 9:08am UTC](https://meta.discourse.org/t/video-embeds-from-facebook-com-and-other-sites-fail/149366/21 "2020-04-28T09:08:35Z")

</div>

Ok.

Hmm. Is there a way to whitelist domains that onebox will try to embed? If not, it seems like we have this situation:

1. I run a community forum where members like to link to sites with videos. (These could be _any_ sites, of course… we don’t know right now.)

2. If a site has an error in their code that prevent embedding from working, Discourse mangles the embed (ugly), and worse yet, removes the original URL so others can’t see what the OP was trying to share.

Doesn’t it seem like step 2 should be “If a site has an error in their code that prevent embedding from working, **Discourse stops trying to embed and instead just lets the link pass through?** ”

I can’t fix this with the blacklist because I don’t know what domains are impacted by this, and of course, any site could have this issue in the future. Just like we saw here with Facebook.

---

_[View the full topic](https://meta.discourse.org/t/video-embeds-from-facebook-com-and-other-sites-fail/149366)._
