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

Thank you so much for the fast answer!

I have changed my code as shown in my site (https://alain118.weebly.com/)

And I am still encountering the same error :disappointed:

Am I doing something wrong? Any help would be great

Loads fine here

Indeed it does! Thank you so much

Hello there,

I’ve tried to follow some tips from this topic but after that my embed stil doesn’t work well.
I’m using this code:

< iframe src=“Twitch” frameborder=“0” allowfullscreen=“true” scrolling=“no” height=“480” width=“950”>

With or without www. for the first parent parameter, twitch.tv still refuse to connect.

My website: https://www.esportperformanceracing.com/twitch

Thanks :slight_smile:

Looks like it’s working to me

It’s weird, on my side I get this view

It wroked when I loaded it but now it does not

The correct URL to use is

https://player.twitch.tv/?channel=epracingtv&parent=www.esportperformanceracing.com&parent=www-esportperformanceracing-com.filesusr.com
1 Like

Thanks for your quick reply :slight_smile:
I changed that but on my side it’s still broken…
But on your side and another PC, it’s OK, so definetly it could be my computer which is the issue :stuck_out_tongue:

It might be cached on your computer year. (Ctrl +f5 may help)

1 Like

Yes it’s a cache issue. Thanks for your help Barry!

Hey,
Having the same issues on Wix!! Wondering if You can help please? https://www.twitch.tv/exitwestsf

https embed code is:

<!-- 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">
  var embed = new Twitch.Embed("twitch-embed", {
    width: 400 ,
    height: 300,
    channel: "exitwestsf",
    layout: "video",
    autoplay: false,
    // only needed if your site is also embedded on embed.example.com and othersite.example.com 
    
   parent: [ "www.exitwestsf.com","exitwestsf.com","//0caf1a15-1b40-4fbe-a893-faab2c86b61a.htmlcomponentservice.com ,exitwestsf-com.fileusr.com,www-exitwestsf.com.filesusr.com","//0caf1a15-1b40-4fbe-a893-faab2c86b61a.htmlcomponentservice.com.fileusr.com","www-//0caf1a15-1b40-4fbe-a893-faab2c86b61a.htmlcomponentservice.com "]
  });

  embed.addEventListener(Twitch.Embed.VIDEO_READY, () => {
    var player = embed.getPlayer();
    player.play();
  });
</script>

Can you link the page with the broken embed, there is no broken embed on https://www.exitwestsf.com/ and we need to see the broken embed to devise the solution

Good morning,
Page now has the broken embed showing, thank You,

James

Corrected code is

<script type="text/javascript">
      var embed = new Twitch.Embed("twitch-embed", {
        width: 400,
        height: 300,
        channel: "exitwestsf",
        layout: "video",
        autoplay: false,
        parent:[ "www-exitwestsf-com.filesusr.com", "www.exitwestsf.com"]
      });
</script>

Unfortunately when i implement your code, nothing at all shows up.

This website is hosted on Wix. I know twitch and Wix don’t play nice…

that would be because you replaced everything with my fix rather than just the script tags replacement

{ Object.keys(vod).length > 0 ?

{vod.title}

Still not working "twitch player cant [quote=“BarryCarlyon, post:1, topic:26297”]

somesite-com.fileusr.com

[/quote]

" player.twitch.tv refused to connect."

www.micherode.se

SSL is activated. Why i got this?