# Embedding on a private website

**URL:** <https://discuss.dev.twitch.com/t/embedding-on-a-private-website/26366>\
**Category:** API\
**Created:** [June 14, 2020, 6:47pm UTC](https://discuss.dev.twitch.com/t/embedding-on-a-private-website/26366 "2020-06-14T18:47:42Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 21, 2020, 5:40pm UTC](https://discuss.dev.twitch.com/t/embedding-on-a-private-website/26366/6 "2020-06-21T17:40:34Z")

</div>

Not directly, in passes when discussing support for localhost.

> [@Twitch Embedded Player Updates in 2020](https://discuss.dev.twitch.com/t/twitch-embedded-player-updates-in-2020/23956/120):
>
> Hi everyone, as the purpose of this topic was to announce embed changes, we’re going to close it for further comments. However, I’m going to include many of the tips that were discussed above that helped resolved many issues. Please review these items for troubleshooting before opening a new topic. Thank you! Top troubleshooting tips Make sure you have SSL enabled for your website, this is required for embeds to function (i.e. When going to your site, “https://” is in the URL) Do not include “…

But the CSP error in the console does list the domains it expects on the domains you provide

With a domain of `https://pi:1880` the domain you added in parents is `pi` Twitch interprets that and adds it to the CSP rule as `https://pi/`

---

_[View the full topic](https://discuss.dev.twitch.com/t/embedding-on-a-private-website/26366)._
