Could be a problem with the site builder you are using.
I was afraid it is
Thank you very much for your effort @BarryCarlyon
Try this
<div id="test"></div>
<script src= "https://embed.twitch.tv/embed/v1.js"></script>
<script type="text/javascript">
var parent = ['beatzbybata.com', 'www.beatzbybata.com', window.location.host];
var options = {
width: 800,
height: 500,
channel: "monstercat",
allowfullscreen: false,
layout: "video-with-chat",
muted: true,
parent
};
var player = new Twitch.Embed("test", options);
</script>
Forgot something
Hereās the website Iām trying to embed to: https://puckkcmo.wixsite.com/website
Hereās the code Iām trying:
src=https://player.twitch.tv/?channel=puckkcmo&parent=puckkcmo.wixsite.com/website&parent=puckkcmo-wixsite-com/website.fileusr.com "frameborder=ā0ā allow=āaccelerometer; autoplay; encrypted-media; gyroscope; picture-in-pictureā allowfullscreen>
And Iām getting an āembed misconfiguredā message. I have NO experience with coding, so any help would be greatly appreciated.
I cannot fix an embed I canāt see. There is not broken embed on the linked page I cannot advise the required fix
My apologies, I was very tired and neglected to hit Publish. You should be able to see it now. Thank you!
the current URL to fix for this site is
https://player.twitch.tv/?channel=puckkcmo&parent=puckkcmo.wixsite.com&parent=6bc9fafa-7b28-4e9f-99dd-5f1a615cb58d.htmlcomponentservice.com
Hello!
@BarryCarlyon, Iāve spent the last few hours combing through each of these iFrames youāve been helping everyone with, but for the life of me I canāt fix this. Iāve followed each one piece by piece and Iām still missing stuff.
URL: https://wedowix.wixsite.com/my-site-3
Heres what I have:
<iframe src="https://player.twitch.tv/?channel=vantaleagues&parent=wedowix.wixsite.com&parent=www.wedowix.wixsite.com&parent=www-wedowix-wixsite-com.filesusr.com" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>
Iāve tried it with the different āparentsā in a different order and a bunch of variations to no avail. Iāve seen many others in here past whatever it is you give them and it works! I copy what you give and adjust for my domain but no success.
Your help would be greatly appreciated!
Thanks.
Try this as the URL for your iFrame
https://player.twitch.tv/?channel=vantaleagues&parent=wedowix-wixsite-com.filesusr.com&parent=wedowix.wixsite.com
That worked. I have no idea why since I tried everything but thanks for your help! Saved me a lot more stress haha.
I copied and pasted and now am getting a āplayer.twitch.tv is blockedā message.
Refused to frame āhttps://player.twitch.tv/ā because an ancestor violates the following Content Security Policy directive: āframe-ancestors https://prateek12.pythonanywhere.com https://www.prateek12.pythonanywhere.comā.
<iframe src="https://player.twitch.tv/?channel=lol_nemesis&parent=prateek12.pythonanywhere.com" frameborder="0" allowfullscreen="true" scrolling="no" height="450" width="800"></iframe>
<iframe
id="chat_embed"
src="https://www.twitch.tv/embed/lol_nemesis/chat?parent=prateek12.pythonanywhere.com"
height="450"
width="314">
</iframe>
@prateekjajoo Please provide a link to the page that is broken so someone can investigate.
Initially it seems that https://www.prateek12.pythonanywhere.com
due to a SSL Error
And https://prateek12.pythonanywhere.com/
presents an admin dashboard?
Hello @BarryCarlyon
Please check this http://prateek12.pythonanywhere.com/twitch_video url
SSL is required.
This page works fine as https://prateek12.pythonanywhere.com/twitch_video
Thank You so much buddy @BarryCarlyon
Hey guys,
I am trying to put my Twitch stream on my website but its giving me an error.
Photo attached below:
```Information was copied from my channel page
I am trying to add it to: http://www.anthonybuada.com/live.html
Any help would be greatly appreciated. Thank you!
Best,
Anthony
Thereās a couple issues, first the parent
param is wrong on the iframe.
https://player.twitch.tv/?channel=anthooony&parent=www.anthonybuada.com/live.html
should be
https://player.twitch.tv/?channel=anthooony&parent=www.anthonybuada.com
Secondly, all pages that use an embed MUST be using https, where as your site is using an invalid certificate and redirecting from https to a normal http page, which will not support embeds.