# The great big "I'm using WIX/SomeWebsiteMaking Tool and I don't know how to fix my embed" thread

**URL:** <https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297>\
**Category:** API\
**Created:** [June 12, 2020, 2:12pm UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297 "2020-06-12T14:12:37Z")\
**Posts on this page:** 20\
**Page:** 1

<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 12, 2020, 2:12pm UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/1 "2020-06-12T14:12:37Z")

</div>

If you are using WIX/Google Sites/Some other tool and your embeds are no longer working.

The fix is as follows, it seems that wix and other website builders will put your embed in another iframe, so you need to include your website as a parent and that extra iframe as a parent.

# FOR WIX

Generally it seems that for a wix site, your site is

```
somesite.com

```

And your iframe is

```
somesite-com.fileusr.com

```

or

```
www-somesite.com.filesusr.com

```

So your parent would be

```
parent=somesite.com&parent=www.somesite.com&parent=www-somesite-com.filesusr.com

```

# FOR GOOGLE SITES

Try the fix described on Github → [twitch\_misc/player/googlesites at main · BarryCarlyon/twitch\_misc · GitHub](https://github.com/BarryCarlyon/twitch_misc/tree/master/player/googlesites)

# FOLLOWING THE IFRAME TREE

You can check the specific of your extra iFrame by right clicking on the broken embed, hitting “inspect” and then looking in the source for something like this:

 ![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/3/3c8407027b080958c7a540ce78cf9c07f900737e.png)

Highlighted is the iFrame URL you are looking for.

Some sites may do website, iFrame, iFrame, your actual embed. So you’ll have to follow the Tree up and add all the parents.

# FOR EVERYTHING ELSE

If you are _still_ stuck after trying this, and cant’ find your parent tree.

Please post a link to your _ **direct webpage** _ where the broken embed exists and someone can look and provide the fix for you.

Please be advised this is voluntary and you may not get an answer quickly.

# ALSO

Your website needs to be over SSL and forcing Non SSL visitors to the SSL version of your site

---

<div class="post-metadata">

**Author:** ![h7z](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@h7z](https://discuss.dev.twitch.com/u/h7z)\
**Post date:** [June 12, 2020, 2:36pm UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/2 "2020-06-12T14:36:34Z")

</div>

I’ve been trying to fix the embeds for [h7z.cc](https://h7z.cc/) and [hieronymus7z.com](https://www.hieronymus7z.com/p/contact.html) listing all suggested combinations as parents, no luck so far. The first site is hosted on [portfolio.adobe.com](http://portfolio.adobe.com), the other is on [blogger.com](http://blogger.com)

the twitch page is [twitch.tv/hieronymus7z](https://www.twitch.tv/hieronymus7z). Any help is greatly appreciated

---

<div class="post-metadata">

**Author:** ![3ventic](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/3ventic/32/298_2.png) [@3ventic](https://discuss.dev.twitch.com/u/3ventic)\
**Post date:** [June 12, 2020, 2:39pm UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/3 "2020-06-12T14:39:35Z")

</div>

![](https://d2opxh93rbxzdn.cloudfront.net/original/2X/5/58fbee04b0337e2d2500c253c1610b32bbc4e66c.png)  
the ; in your URL should be an &

---

<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 12, 2020, 2:41pm UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/4 "2020-06-12T14:41:28Z")

</div>

```
https://player.twitch.tv/?channel=hieronymus7z&parent=hieronymus7z.com&parent=www.hieronymus7z.com&parent=blogger.com

```

 ![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/7/7d391fb1a2224ce2f589688dd5b38b49b5a2d007.png)

that fixes yoru contact page which you didn’t link to

```
https://player.twitch.tv/?channel=hieronymus7z&parent=h7z.cc&parent=portfolio.adobe.com

```

 ![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/1/1480319aa949d66fa252665f226b103a3e1417c6.jpeg)

Please _literally_ give the URL with the page the problem is present on

---

<div class="post-metadata">

**Author:** ![Shakra](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Shakra](https://discuss.dev.twitch.com/u/Shakra)\
**Post date:** [June 12, 2020, 2:56pm UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/5 "2020-06-12T14:56:24Z")

</div>

Hello

I try and try and try and nothing …

My site : [https://bonolandtv.wixsite.com/bonobonus/](https://bonolandtv.wixsite.com/bonobonus/)

---

<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 12, 2020, 2:58pm UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/6 "2020-06-12T14:58:08Z")

</div>

```
https://player.twitch.tv?channel=bonolandtv&parent=bonolandtv.wixsite.com&parent=www.bonolandtv.wixsite.com&parent=bonolandtv-wixsite-com.filesusr.com

```

 ![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/a/a5754e254c6cdad431a3a7df6d7e09d47e8dc741.png)

---

<div class="post-metadata">

**Author:** ![Shakra](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Shakra](https://discuss.dev.twitch.com/u/Shakra)\
**Post date:** [June 12, 2020, 3:35pm UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/7 "2020-06-12T15:35:28Z")

</div>

Thank you very much 🙂

---

<div class="post-metadata">

**Author:** ![sub4four](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@sub4four](https://discuss.dev.twitch.com/u/sub4four)\
**Post date:** [June 13, 2020, 2:37am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/8 "2020-06-13T02:37:41Z")

</div>

Edit: I have gotten this to work using separate embeds for chat and channel; I am still curious why the “all in one” code below doesn’t work, though…

Hi, thanks for all the help you’re providing @BarryCarlyon.

I have tried every iteration of parent that I can find or think of, and I’m still getting the “Embed is misconfigured” on my wixsite.

[https://tvunscriptedimprov.wixsite.com/tvunscripted/livestream](https://tvunscriptedimprov.wixsite.com/tvunscripted/livestream)

I have the domain [www.tvunscripted.com](http://www.tvunscripted.com) redirect to there, if that’s relevant…

Here’s the code I have:

```
<!-- Load the Twitch embed script -->
<script src="https://embed.twitch.tv/embed/v1.js"></script>

<!-- Create a Twitch.Embed object that will render within the "twitch-embed" root element. -->
<script type="text/javascript">
  const embed = new Twitch.Embed("twitch-embed", {
    width: 854,
    height: 480,
    channel: "tvunscripted",
    // only needed if your site is also embedded on embed.example.com and othersite.example.com 
     parent: ["tvunscripted.com", "www.tvunscripted.com", "https://www.tvunscripted.com", "tvunscriptedimprov-wixsite-com.filesusr.com", "https://tvunscriptedimprov.wixsite.com/tvunscripted/", "htpps://www-tvunscriptedimprov-wixsite-com.filesusr.com", "https://tvunscriptedimprov-wixsite-com.filesusr.com/html/8d4fc2_eb06b38c59f81f4aa2d68c450b1d7440.html"]
  });
</script>

```

---

<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:** [June 13, 2020, 8:46am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/9 "2020-06-13T08:46:23Z")

</div>

> [@sub4four](#):
>
> `parent: ["tvunscripted.com", "www.tvunscripted.com", "https://www.tvunscripted.com", "tvunscriptedimprov-wixsite-com.filesusr.com", "https://tvunscriptedimprov.wixsite.com/tvunscripted/", "htpps://www-tvunscriptedimprov-wixsite-com.filesusr.com", "https://tvunscriptedimprov-wixsite-com.filesusr.com/html/8d4fc2_eb06b38c59f81f4aa2d68c450b1d7440.html"]`

Parent is just the domain portion, you don’t include the protocol, and it shouldn’t include the path or file.  
`tvunscripted.com`, `www.tvunscripted.com`, and `tvunscriptedimprov-wixsite-com.filesusr.com`, are the only valid parents you’ve listed, all of the others are erroneous.

---

<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 13, 2020, 11:00am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/10 "2020-06-13T11:00:53Z")

</div>

```
parent: ["tvunscripted.com", "www.tvunscripted.com", "https://www.tvunscripted.com", "tvunscriptedimprov-wixsite-com.filesusr.com", "https://tvunscriptedimprov.wixsite.com/tvunscripted/", "htpps://www-tvunscriptedimprov-wixsite-com.filesusr.com", "https://tvunscriptedimprov-wixsite-com.filesusr.com/html/8d4fc2_eb06b38c59f81f4aa2d68c450b1d7440.html"]

```

should be

```
parent: ["tvunscripted.com", "www.tvunscripted.com", "tvunscriptedimprov-wixsite-com.filesusr.com", "tvunscriptedimprov.wixsite.com", "www-tvunscriptedimprov-wixsite-com.filesusr.com"]

```

Checking the page you linked I see that the embed is working

---

<div class="post-metadata">

**Author:** ![FRESHFMLONDON](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/freshfmlondon/32/9119_2.png) [@FRESHFMLONDON](https://discuss.dev.twitch.com/u/FRESHFMLONDON)\
**Post date:** [June 13, 2020, 11:23am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/11 "2020-06-13T11:23:55Z")

</div>

i am trying to add my twitch to my website, it worked b4 the 10th june. i have tried everything i can but no luck. can someone please help me to sort my iframes code out as i tried to do it fo rthe last 3 days without any luck.

here is the code i have been trying to sort, no matter what i try i cant get it to work. PLEASE HELP PLEASE HELP

src=“[https://player.twitch.tv/?channel=freshfmlondon&parent=www-freshfmlondon-com.filesusr.com&parent=www.freshfmlondon.com](https://player.twitch.tv/?channel=freshfmlondon&parent=www-freshfmlondon-com.filesusr.com&parent=www.freshfmlondon.com)” frameborder=“0” allowfullscreen=“true” scrolling=“no” height=“378” width=“620”\>

---

<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 13, 2020, 11:24am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/12 "2020-06-13T11:24:14Z")

</div>

Please post the URL to the page with the stream that is not working on

---

<div class="post-metadata">

**Author:** ![FRESHFMLONDON](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/freshfmlondon/32/9119_2.png) [@FRESHFMLONDON](https://discuss.dev.twitch.com/u/FRESHFMLONDON)\
**Post date:** [June 13, 2020, 11:26am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/13 "2020-06-13T11:26:17Z")

</div>

[https://www.freshfmlondon.com/home](https://www.freshfmlondon.com/home)

THATS MY WEBSITE I’M TRYING TO EMBED THE PLAY BACK ONTOO BUT IT WONT LET ME. ON WIX I USE THE HTLM IFRAMES APP TO EMBED IT BUT WHEN I PUT THE CODE IN IT JUST SAYS WONT CONNECT

---

<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 13, 2020, 11:28am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/14 "2020-06-13T11:28:27Z")

</div>

You are currently using

```
<iframe src="https://player.twitch.tv/?channel=freshfmlondon" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="720"></iframe><a href="https://www.twitch.tv/freshfmlondon?tt_content=text_link&tt_medium=live_embed" style="padding:2px 0px 4px; display:block; width:345px; font-weight:normal; font-size:10px; text-decoration:underline;">Watch live video from freshfmlondon on www.twitch.tv</a>

```

This should be

```
<iframe src="https://player.twitch.tv/?channel=freshfmlondon&parent=www-freshfmlondon-com.filesusr.com&parent=freshfmlondon.com&parent=www.freshfmlondon.com" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="720"></iframe><a href="https://www.twitch.tv/freshfmlondon?tt_content=text_link&tt_medium=live_embed" style="padding:2px 0px 4px; display:block; width:345px; font-weight:normal; font-size:10px; text-decoration:underline;">Watch live video from freshfmlondon on www.twitch.tv</a>

```

As in

`https://player.twitch.tv/?channel=freshfmlondon&parent=www-freshfmlondon-com.filesusr.com&parent=freshfmlondon.com&parent=www.freshfmlondon.com` is the iframe URL needed

 ![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/3/39d6726a2ea9c5f6ccb7ead75b4662b922ef4a37.jpeg)

---

<div class="post-metadata">

**Author:** ![FRESHFMLONDON](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/freshfmlondon/32/9119_2.png) [@FRESHFMLONDON](https://discuss.dev.twitch.com/u/FRESHFMLONDON)\
**Post date:** [June 13, 2020, 11:30am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/15 "2020-06-13T11:30:53Z")

</div>

> [@BarryCarlyon](#):
>
> `<iframe src="https://player.twitch.tv/?channel=freshfmlondon&parent=www-freshfmlondon-com.filesusr.com&parent=freshfmlondon.com&parent=www.freshfmlondon.com" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="720"></iframe><a href="https://www.twitch.tv/freshfmlondon?tt_content=text_link&tt_medium=live_embed" style="padding:2px 0px 4px; display:block; width:345px; font-weight:normal; font-size:10px; text-decoration:underline;">Watch live video from freshfmlondon on www.twitch.tv</a>`

i’ve copied that code into the iframes widget but it doesnt work still. it gives me 2 choices.  
website address  
code.  
i choice code. put that exact code in you gave me but it doesnt embed on my site for some reason

---

<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 13, 2020, 11:32am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/16 "2020-06-13T11:32:25Z")

</div>

I’ve reloaded your page and I still see the old URL, just paste it in and hit save, if it doesn’t work in the editor/preview just ignore that, I don’t know what the preview iframe is as I’m not a wix user and it’s just the preview that is erroring

---

<div class="post-metadata">

**Author:** ![FRESHFMLONDON](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/freshfmlondon/32/9119_2.png) [@FRESHFMLONDON](https://discuss.dev.twitch.com/u/FRESHFMLONDON)\
**Post date:** [June 13, 2020, 11:35am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/17 "2020-06-13T11:35:01Z")

</div>

barry thank you so much its on there now… is there a way to embed the chat as well ?  
sorry i’m new to coding and learning as i go

---

<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 13, 2020, 11:36am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/18 "2020-06-13T11:36:48Z")

</div>

Yup it’s covered in the documentation.

if you use

> **[Everything](https://dev.twitch.tv/docs/embed/everything/)**
>
> Embedding Everything

Then it’s just one bit of code for both.

```auto
<html>
  <body>
    <!-- Add a placeholder for the Twitch embed -->
    <div id="twitch-embed"></div>

    <!-- Load the Twitch embed script -->
    <script src="https://embed.twitch.tv/embed/v1.js"></script>

    <!-- Create a Twitch.Embed object that will render within the "twitch-embed" root element. -->
    <script type="text/javascript">
      new Twitch.Embed("twitch-embed", {
        width: 854,
        height: 480,
        channel: "freshfmlondon",
        parent: ["freshfmlondon.com", "www.freshfmlondon.com","www-freshfmlondon-com.filesusr.com"]
      });
    </script>
  </body>
</html>

```

I fixed the parents for you, so replace what you have with that and it’ll do both the stream/chat side by side for you

---

<div class="post-metadata">

**Author:** ![FRESHFMLONDON](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/freshfmlondon/32/9119_2.png) [@FRESHFMLONDON](https://discuss.dev.twitch.com/u/FRESHFMLONDON)\
**Post date:** [June 13, 2020, 11:38am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/19 "2020-06-13T11:38:51Z")

</div>

your awsome. can i make the chat side thinner ?

---

<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 13, 2020, 11:41am UTC](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297/20 "2020-06-13T11:41:09Z")

</div>

The short answer is you don’t. This configuration is “fixed” and any thinner it gets tough to show all the UI nicely. You could do it with two embeds/iframes but I wouldn’t recommend that. I’d make your website fit the browser currently it’s fixed width!

 ![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/6/65d18bb3c8792722769a32182d6aeab380257597.jpeg)

[Next page](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297.md?page=2)
