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

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=“https://player.twitch.tv/?channel=sr_kaif&parent=www.saltraiders.com” 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"]
      });

Thanks Berry, it’s working now… :smiley: :+1:

Hi @BarryCarlyon

Could you please tell me where I fudged my embed? Thank you!

http://www.doomagaming.com/

alright after looking this over 20+times i can’t figure it out. Any help is appreciated.
https://darkkugu.wixsite.com/productions

With SSL works fine here, I see the http version is redirecting to the https version

You had spaces after every domain (and the channel name) in the list and your filesusr domain was wrong

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

Is the correct URL

Thank you Barry. Is there a way to prevent it being just a white box completely for some viewers and is there a way to remove chat so the whole window is just the actual stream?

A white box?

Refer to the embed docs

Which cover what to change to meet your requirements

1wb

I apologize, I may be misunderstanding. When I open the site on anything but firefox, it shows a white box. I just want to prevent this happening completely.

Works fine for me in Chrome, Firefox, and Edge (on windows) for me

Strange. Ok, I will leave it as is. Thank you so much for your time. I really appreciate you doing this for everyone, I had all but gave up until I found this thread.