# Twitch blocks every domain where I embed my channel

**URL:** <https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369>\
**Category:** API\
**Created:** [December 12, 2021, 3:54pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369 "2021-12-12T15:54:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xop0](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xop0/32/15708_2.png) [@Xop0](https://discuss.dev.twitch.com/u/Xop0)\
**Post date:** [December 12, 2021, 3:54pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/1 "2021-12-12T15:54:57Z")

</div>

Hello, I am trying to partner with the gaming audience sites (as  
partner fextralife does) to attract new people to watch the stream, but very sites that works with me to embed my broadcast gets blocked by domain. ☹  
For example, I had a hard time negotiating a partnership with a gaming site to promote small indie games to an interested audience and bring new users to Twitch, but it was blocked in just a week.  
At the same time, the sites complied with all placement rules [Everything | Twitch Developers](https://dev.twitch.tv/docs/embed/everything) , except for the recommended sizes (the width was slightly smaller to fit in the sidebar of the site). No rules were violated, but the domain was blocked.  
Is the minimum size 340x400 a mandatory attribute for which a domain is blocked, or is this just a recommendation? Because another recommendation says about 300x400  
I have seen many sites with smaller players. And even the players are opened from the slider (but with autoplay) and these sites are not blocked.  
Can I get an explanation about the reasons for blocking, to eliminate violations and restore the functionality of the embedding?  
I tried to write twitch support for this issue. But the staff were completely incompetent. Either they simply responded with a template, or they said that this was a technical problem.  
And they don’t even answer how to get the domain unlocked.

Now embedding is 525x300, but still in block.

 ![kVPd9c9XJVQ7v](https://d2opxh93rbxzdn.cloudfront.net/original/2X/e/e72b6912f3f8980dcd926e01a9fdcc56cf56375e.jpeg)

---

<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:** [December 12, 2021, 3:58pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/2 "2021-12-12T15:58:56Z")

</div>

> [@Xop0](#):
>
> I tried to write twitch support for this issue. But the staff were completely incompetent.

Twitch staff/support cannot help with developer issues they’ll jsut send you here

> [@Xop0](#):
>
> Now embedding is 525x300, but still in block.

Please provide a link to the page with the non functioning embed. and/or the code you are using to generate said embed.

---

<div class="post-metadata">

**Author:** ![Xop0](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xop0/32/15708_2.png) [@Xop0](https://discuss.dev.twitch.com/u/Xop0)\
**Post date:** [December 12, 2021, 4:47pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/3 "2021-12-12T16:47:30Z")

</div>

So this is not a development problem. The twitch team blocked the embedding on this domain. A few days ago, everything worked.  
Now does not work on the page: [https://freetp.org/news/4474-ne-rabotaet-controller-v-igre.html](https://freetp.org/news/4474-ne-rabotaet-controller-v-igre.html)  
And even just a link [https://player.twitch.tv/?channel=xop0&parent=www.freetp.org](https://player.twitch.tv/?channel=xop0&parent=www.freetp.org)

They have already blocked 4 of my partner sites.

---

<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:** [December 12, 2021, 5:15pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/4 "2021-12-12T17:15:15Z")

</div>

> [@Xop0](#):
>
> Now does not work on the page: [https://freetp.org/news/4474-ne-rabotaet-controller-v-igre.html](https://freetp.org/news/4474-ne-rabotaet-controller-v-igre.html)  
> And even just a link [Twitch Error](https://player.twitch.tv/?channel=xop0&parent=www.freetp.org)

The parent is incorrect.

Your website is `freetp.org` but you only declared `www.freetp.org` as a valid parent.

So `https://www.freetp.org/news/4474-ne-rabotaet-controller-v-igre.html` would work (in the DNS Probe worked). and `https://freetp.org/news/4474-ne-rabotaet-controller-v-igre.html` will not.

As to the linked page.

The Twitch JS Embed lib is missing. So I can’t run a test properly.

The JS code that is there _looks_ correct as does the URL used for the iFrame (even if the JS didn’t run)

> [@Xop0](#):
>
> They have already blocked 4 of my partner sites.

Not sure what you mean by this.

Are you saying it was working and now it isn’t working?

That suggests you might be doing something on these sites which is not allowed under the rules.

See [Embedding Twitch | Twitch Developers](https://dev.twitch.tv/docs/embed/) for additional rules  
And [Twitch.tv - Developer Agreement](https://www.twitch.tv/p/en/legal/developer-agreement/) and `Requirements for Specific Features and APIs 1. Embeddable Experiences`

If you’ve fallen afoul of the rules and your website is disallowed for embeds. Not much this forum can do for help on that either.

---

<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:** [December 12, 2021, 5:15pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/5 "2021-12-12T17:15:39Z")

</div>



---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [December 12, 2021, 5:18pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/6 "2021-12-12T17:18:06Z")

</div>

As well as the Developer Agreement, the [Community Guidelines](https://www.twitch.tv/p/en/legal/community-guidelines/) may also have a part to play in embeds being disabled on some sites. Because that site embeds on every single page, even when the page in question has no relation whatsoever to the stream, it could potentially be seen as an attempt to artificially manipulate live viewer count or other metrics, which the Community Guidelines prohibits.

I’m not a legal export, and nor do I work for Twitch, so I can’t say for certain if that is the case for the reason why they may not work here, but both the site and the channel being embeded MUST follow all of Twitch’s legal agreements.

---

<div class="post-metadata">

**Author:** ![Xop0](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xop0/32/15708_2.png) [@Xop0](https://discuss.dev.twitch.com/u/Xop0)\
**Post date:** [December 12, 2021, 5:41pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/7 "2021-12-12T17:41:24Z")

</div>

[https://fextralife.com/](https://fextralife.com/) does this on every page, on every wiki, everywhere.  
Therefore, on this gaming site, embedding was at first on the sidebar, and now before the comments, in order to attract as much of the group as possible to the stream. And the site visitors were fine with it.  
I am a partner of this gaming site and we cooperate with a related audience.

---

<div class="post-metadata">

**Author:** ![Xop0](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xop0/32/15708_2.png) [@Xop0](https://discuss.dev.twitch.com/u/Xop0)\
**Post date:** [December 12, 2021, 5:49pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/8 "2021-12-12T17:49:42Z")

</div>

Twitch support sent me right here without explaining why the embedding was blocked. So I’m trying to understand what exactly I violated and how to get the embed unlock.

```auto
<div class="twitch-embed-div">
   <div id="twitch-embed">
      <iframe src="https://embed.twitch.tv/?channel=xop0&height=400&migration=true&muted=true&parent=freetp.org&theme=dark&width=400" allowfullscreen="" 
      scrolling="no" allow="autoplay; fullscreen" title="Twitch" width="400" height="400">
      </iframe>
   </div>
      <script type="text/javascript">
         new Twitch.Embed( 'twitch-embed', {
            width : 400,
            height : 400,
            channel : 'xop0',
            muted : true,
            theme : 'dark',
            parent : ['freetp.org']
         } );
      </script>
  </div>
</div>

```

The site does not contain anything that violates the rules. A regular gaming site.  
Perhaps because of the size, one of the parameters is less than the minimum, but I have seen many sites have smaller embeddings. For example [https://www.igromania.ru/](https://www.igromania.ru/) 375x275 on every page.

And what is the minimum size if:

> Embedded video windows must be at least 400x300 pixels.

> Height of the rendered element, in pixels. This can be expressed as a percentage, by passing a string like `50%` . **Minimum: 400**. Default: 480. Maximum width of the rendered element, in pixels. This can be expressed as a percentage, by passing a string like `100%` . **Minimum: 340**. Default: 940.

---

<div class="post-metadata">

**Author:** ![Xop0](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xop0/32/15708_2.png) [@Xop0](https://discuss.dev.twitch.com/u/Xop0)\
**Post date:** [December 12, 2021, 6:45pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/10 "2021-12-12T18:45:24Z")

</div>

Now the code is completely in line with the documentation, but still nothing works.

```auto
<div class="twitch-embed-div">
   <div id="twitch-embed">
      <iframe src="https://embed.twitch.tv/?channel=xop0&height=300&migration=true&muted=true&parent=freetp.org&theme=dark&width=525" allowfullscreen="" 
      scrolling="no" allow="autoplay; fullscreen" title="Twitch" width="525" height="300">
      </iframe>
   </div>
      <script type="text/javascript">
         new Twitch.Embed( 'twitch-embed', {
            width : 525,
            height : 300,
            channel : 'xop0',
            muted : true,
            theme : 'dark',
            parent : ['freetp.org']
         } );
      </script>
  </div>

```

The issue is still not resolved, but you have already hidden this topic.  
At the same time, twitch support also does not give any information and directs it here. Vicious circle.

---

<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:** [December 12, 2021, 6:49pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/11 "2021-12-12T18:49:29Z")

</div>

You need/want one or the other, an iFrame _or_ the JS embed code. (Your JS embed/page lacks the JS embed lib/helper), but that doesn’t seem to be the issue.

There isn’t any further informtion that can be provided from the other third parties on this forum.

Since your code seems correct but it still doesn’t work. So it seems to be a policy violation but we/this forum just don’t know, since none of us are staff and they don’t often frequent this forum. Nor have we/this forum/other third parties have anywhere to direct you to.

Thats why it’s been hidden from the main index. To stop randoms chiming in. You may or may not get a follow up from Twitch staff on this but thats not something I can promise. I have flagged this post/thread up the chain , but that may not result in a response from them.

---

<div class="post-metadata">

**Author:** ![Xop0](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xop0/32/15708_2.png) [@Xop0](https://discuss.dev.twitch.com/u/Xop0)\
**Post date:** [December 12, 2021, 8:02pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/12 "2021-12-12T20:02:39Z")

</div>

Thank you. I use this topic as additional material for twitch support

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [January 11, 2022, 8:02pm UTC](https://discuss.dev.twitch.com/t/twitch-blocks-every-domain-where-i-embed-my-channel/35369/13 "2022-01-11T20:02:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
