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

So I switched my domain name, and I cannot get it to embed anymore. Can you help again? CurvedBubbles.com is the website.

its just so odd like i have done what you asked i even took it to the test area JS Bin - Collaborative JavaScript Debugging and still shows that message where it says it can not connect to twitch player its the same code


image|690x372

You had a / on the end of the parent

https://player.twitch.tv/?channel=bracketslive&parent=bracketsgames.com

Is correct

<script type="text/javascript">
  new Twitch.Embed("twitch-embed", {
width: 900
,
height: 375,
channel: "curvedbubbles",
// only needed if your site is also embedded on embed.example.com and othersite.example.com 
parent: ["e0fe33bb-4000-4205-815e-32d050a9446b.htmlcomponentservice.com", "curvedbubbles.com"]
  });
</script>

Should be, (adding both variants of www./non www)

<script type="text/javascript">
  new Twitch.Embed("twitch-embed", {
width: 900
,
height: 375,
channel: "curvedbubbles",
// only needed if your site is also embedded on embed.example.com and othersite.example.com 
parent: ["e0fe33bb-4000-4205-815e-32d050a9446b.htmlcomponentservice.com", "curvedbubbles.com","www.curvedbubbles.com"]
  });
</script>

JSbin uses, yet another iFrame, which is why we ask you post the link to your embed broken on your live site then we just tell you what to fix.

Thanks @BarryCarlyon ! Looked at it for so long and didn’t even realize. Awesome!

1 Like

Hey guys!

So I have a site just for fun with Neocities, I know the page is kind of slow to load in general because I put it together as a total newbie, but I’m having issues with only the chat embed. I fixed the video embed easy enough, but the parent portion of chat embed is giving me such a headache. I’ve gone through just about every rendition provided in this thread but to no avail; I wonder if it’s because it is a .org site instead?

Here is the code in question:

<iframe frameborder="3"
    scrolling="no"
    id="runawayfivetv"
    src="https://www.twitch.tv/embed/runawayfivetv/chat?parent=runawayfive.neocities.org"
    height="500"
    width="305">
</iframe>

And this is the website to view my code on:
https://runawayfive.neocities.org/

The site does force https as well, which I saw could be a problem as well; I hope someone can help me out!

Thank you in advance :slight_smile:

The URL should just be

https://www.twitch.tv/embed/runawayfivetv/chat?parent=runawayfive.neocities.org

You put - instead of .

1 Like

Thank you so much!

Fixed and it feels so good! :sunglasses:

1 Like

I can’t seem to get my twitch embed to work on wix. I might be missing something: https://www.watch.opensignalpdx.org/streams

You were missing a www.watch.opensignalpdx.org

      new Twitch.Embed("twitch-embed", {
        width: 854,
        height: 480,
        channel: "opensignalpdx",
        parent: ["opensignalpdx.org", "www.opensignalpdx.org","watch-opensignalpdx-org.filesusr.com", "watch.opensignalpdx.org", "www.watch.opensignalpdx.org", "www-watch-opensignalpdx-org.fileusr.com"]
      });

Oh, duh. Always good with another set of eyes. Thank you!

can you help me?
I have the subdomain and I can’t get the twitch to work

http://festa.transposicao.com/

Hi Barry i have updated the frame now to for this page https://www.saltraiders.com/blog-1 but i still get the error, i know im missing something obvious

iframe src=“Twitch” frameborder=“0” allowfullscreen=“true” scrolling=“no” height=“378” width=“620”>

Your website needs to be on https

You code can be just

<script type="text/javascript">
  new Twitch.Embed("twitch-embed", {
    width: '100%',
    height: '100%',
    channel: "gaules"
  });
</script>
https://player.twitch.tv/?channel=sr_kaif&parent=www.saltraiders.com&parent=saltraiders.com&parent=www-saltraiders-com.filesusr.com

sorry mate, i know ive probs messed this up but when i put the iframe into wix like this

iframe src=“https://player.twitch.tv/?channel=sr_kaif&parent=www.saltraiders.com&parent=saltraiders.com&parent=www-saltraiders-com.filesusr.com” frameborder=“0” allowfullscreen=“true” scrolling=“no” height=“378” width=“620”></iframe

Ive left the < and > from the start and begining to show the code, it doesn work

Ignore the wix preview tool just paste it and save and check the LIVE website.

Four spaces at the start of forum formatting

Ty mate! Cheers for your patience and help

Welp, you know why I’m here. My site is www.djsplitimage.com, it is a redirect to a wix site. The streaming page is https://djsplitimage.wixsite.com/djsplitimage/audio-assault-video-stream I tried editing the code for the all in one embed but clearly I’m doing something wrong. Here’s what I entered:

<!-- 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: "djsplitimage",
    // only needed if your site is also embedded on embed.example.com and othersite.example.com 
    parent: ["djsplitimage.com", "www.djsplitimage.com", "djsplitimage.wixsite.com/djsplitimage"]
  });
</script>

This site is not over HTTPS and doesn’t not work over HTTPS, HTTPS is required

Your code should also be

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

Hello everyone, I’m in the same situation here, I cant get this to work for my page: https://809radio.wixsite.com/809radio Any help will be appreciated.

Thank you!
Alex

Your script contains the examples and has not been updated


      new Twitch.Embed("twitch-embed", {
        width: 265,
        height: 180,
        channel: "thehappyhourshow",
        // only needed if your site is also embedded on embed.example.com and othersite.example.com 
        parent: ["embed.example.com", "othersite.example.com"]
      });

should be

      new Twitch.Embed("twitch-embed", {
        width: 265,
        height: 180,
        channel: "thehappyhourshow",
        parent: ["809radio.wixsite.com", "809radio-wixsite-com.filesusr.com"]
      });