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

Thanks, think I’ve got it working.

Hello,
i’ve been trying to embed the stream live in my website (html5 based) but when i compiled all camp (

<iframe src="https://player.twitch.tv/?channel=namechannel&parent=www.example.com" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>

the website responde: Connection Negate from twitch.
What is the solution??
Thanks

You didn’t update the parent to the value of your website, or your website is not over SSL.

if you include a link to your Webpage we can take a look

Hi BarryCarlyon! thank you so much for your reply!
the temporary address of webpage is http://malaminds.altervista.org/temp/generic.html

i have been checked the SSL and it’s active…i’ve been check the parent value and it’s ok… (temporary i will paste in value the temporary link).

You have

https://player.twitch.tv/?channel=silverfox_981&parent=www.malaminds.altervista.org/temp/

it should be

https://player.twitch.tv/?channel=silverfox_981&parent=malaminds.altervista.org

To match the page at

https://malaminds.altervista.org/temp/generic.html

Thank you,…i have been set the “correctly” link but from my browser (Chrome) it don’t show me the player :frowning:

You need to be on https://malaminds.altervista.org/temp/generic.html not http://malaminds.altervista.org/temp/generic.html your site is not force redirecting to the SSL version

Thank you so much Barry!! i’ve been solved! <3

1 Like

Hey @BarryCarlyon! I really appreciate your help. I can’t seem to get the twitch embed working on my website that I made through wix. The URL for the website with the broken embed is https://www.crystalcavegaming.com/teams
Any assistance you could offer would be greatly appreciated :slight_smile:

Update your Embed code to

<script type="text/javascript">
      new Twitch.Embed("twitch-embed", {
        width: 854,
        height: 480,
        channel: "monstercat",
        parent: ["www-crystalcavegaming-com.filesusr.com","www.crystalcavegaming.com"]
      });
    </script>

I did as you instructed, however it is still not working :frowning:

It’s not working because what is on your site doesn’t match what BarryCarlyon wrote. Looking at your site I still see the example parents which will not work as that’s not your site.

parent: ["embed.example.com", "othersite.example.com"]

When updating your site, ignore any preview that shows the embed not working because Wix and other site builders may use different parents for the embed so that’ll show as still being misconfigured, but if you save the changes that Barry wrote to your site it should work.

Thank you for your reply! So I checked the code on the Wix Editor, of which I uploaded picture. I updated and published the website, I had the twitch owner start the stream, and unfortunately, the stream did not show up on the website :frowning:

I must be doing something wrong, I’m sorry if I sound stupid :frowning:

I gave you the code to replace the <script> tag with.

You went and replaced all the HTML instead with my provided script tag instead

So you need, the following:

<html>
  <body>
<div id="twitch-embed"></div>
<script src= "https://embed.twitch.tv/embed/v1.js"></script>

<script type="text/javascript">
      new Twitch.Embed("twitch-embed", {
        width: 854,
        height: 480,
        channel: "monstercat",
        parent: ["www-crystalcavegaming-com.filesusr.com","www.crystalcavegaming.com"]
      });
    </script>
</body>
</html>

That should do the trick*

  • will not work in the wix preview

It works!!! THANK YOU SO MUCH :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile:

Hello, I’ve been unable to fix our websites Twitch embeds since the update. I just came across this forum. Any help would be greatly appreciated.

Host : https://www.ipage.com

Website : https://www.triggahclique.com

Code : < iframe src=“https://player.twitch.tv/?channel=triggahhappyclique&parent=triggahclique.com” frameborder=“0” allowfullscreen=“true” scrolling=“no” height=“378” width=“620”>

Try https://player.twitch.tv/?channel=triggahhappyclique&parent=www.triggahclique.com&parent=triggahclique.com&parent=components.mywebsitebuilder.com as your iFrame URL instead

1 Like

Ok awesome thanks for your help Barry! It wasn’t working at first even after many refreshes but now is. I really appreciate your help sir. :slight_smile:

EDIT - I tried to update our members page with the code. https://www.triggahclique.com/streams
For some reason it’s still not showing up properly after many refreshes, pc restart and even clearing cookies.

EDIT - If I click that link though it works. When i try to load the page then goto that section of the page it doesn’t work though ?!

1 Like

Sounds like there is some caching going on somewhere beyond your control, the linked page loaded fine for me

1 Like