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

HTTPS on a non standard support is not supported

Is it considered “non-standard support” because of the port it is on?
Would switching it to port 443 resolve this?

Just switched over the ports, and it’s all working - thanks for pointing me in the right direction!

Basically, as you already discovered, yes

Hi Barry,
Not educated in coding but can copy and paste. Any chance you could help with below? I’ve got a sites.google issue

Twitch ID: amyandjesse
Site: https://sites.google.com/view/jesseamytest/home

I’ve been racking my brain…cant seem to get it to work. My buddy thought it a security issue at one point.

<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: 800,
    height: 600,
    channel: "amyandjesse",
    parent: [sites.google.com/]
</script>

I think I will be forwarding this site to a godaddy.com domain at some point son. Could you please account for that?

Thanks!

You are shit out of luck with Google Sites, every time you save/update your site, the embed/iframe tree changes. And I’ve not got a suggested fix for that, other than don’t use Google Sites. I need to site down (and sign up for google sites) and try and find a fix when I get some free time

Not until it’s on godaddy and theres a broken page to look at.

Edit: This might work for Google Sites:

<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: 800,
        height: 600,
        channel: "amyandjesse",
        parent: ['sites.google.com', 'www.gstatic.com', window.location.host]
      });
</script>
1 Like

I’m trying to get it working on my website

I used virtually all modifications suggested in this and nearby threads, and it doesn’t work. Can someone please check code?

Your website is not over ssl

Otherwise your code looks correct the parent just needs to be https://player.twitch.tv/?channel=sneakyjoeru&parent=sneakyjoe.ru&parent=www.sneakyjoe.ru

But the issue here is the lack of SSL

Thank you. Why on earth would they inflict this requirement. I just wanted a simple page without anything complex in it.
Installed SSL with certbot, I hope it’ll last.

Hey, i have the same issue here, but as embedding it with a non interactive iframe :

<iframe
        class="twitch-player"
        src="https://player.twitch.tv/?channel=skorchyrgk&parent=rgk-uat.netlify.app/"
        height="100%"
        width="100%"
        frameborder="0"
        scrolling="no"
        allowfullscreen="true"
      ></iframe>

Losing my mind on this one not gonna lie :stuck_out_tongue:

EDIT : works fine with localhost, but then, when i add my netlify domain, boom, headshot.

Your SRC has an / on the end in error

https://player.twitch.tv/?channel=skorchyrgk&parent=rgk-uat.netlify.app

Should be correct

Nope, still not working :confused:

I found a broken embed at ragnarok-esport

your URL is wrong you have

https://player.twitch.tv/?channel=monstercat&parent=https://rgk-uat.netlify.app

it should be

https://player.twitch.tv/?channel=monstercat&parent=rgk-uat.netlify.app

Thanks a lot sir ! Works perfectly fine :bowing_man:

Hey @BarryCarlyon, would love it if you could work your magic my way. I’m hosted on Netlify and built my landing page on Hugo.

Everything looks fine to me but for whatever reason I’m getting the “specify valid set of arguments” error. I disabled minification on the build deployment settings over on Netlify because it did muck around with some of the HTML, but that didn’t seem to solve the issue.

Thanks in advance!

Edit: I’m an idiot. I left out the “channel” attribute.

1 Like

i know nothing about this stuff im just looking for something i can copy and paste in to a edit code box

www.thestormstalkers.com

Change your JS script to

      new Twitch.Embed("twitch-embed", {
        width: 854,
        height: 480,
        channel: "Ragestorms",
        parent: ['www-thestormstalkers-com.filesusr.com', 'www.thestormstalkers.com']
      });

Here is my site, I have no idea what I’m doing
https://www.bluinkdesigns.com/

specifically this page: https://www.bluinkdesigns.com/entertainment

use

https://player.twitch.tv/?channel=itsbluink&parent=www.bluinkdesigns.com&parent=www-bluinkdesigns-com.filesusr.com

as your iframe source

i messed that up somehow