It’s back online now
Your scirpt tags have been stripped again.
This is a WordPress problem, you are liekyl not using the raw/HTML editor and the block editro is stripping the script tags
:o I’ll look into that. You’ve been amazing, thanks!
hello
Last night, an error started to appear when integrating the player. (embed)[FailedAttributeCheck] mandatory requirements were not met
Who Thread can tell what is the reason?
https://player.twitch.tv/?channel=mrjtv_twich&parent=www.playground.ru
Link to broken webpage please
BarryCarlyon,
Cheers, I’m having somewhat the same issue with embedding my twitch channel on my website. I have tried changing the script taking the www off my URL, I have added parent content still doesn’t work. But if I click on the error embed it will take me to my twitch channel, and upon completion of streaming, the error page comes back.
At one time the embed code worked flawlessly on my website, then one day I started getting the opp’s error. You help would be greatly appreciated.
You included no parents at all, and used the wrong parameters.
The correct URL for this site is.
https://player.twitch.tv/?channel=iaahradio&parent=rest.edit.site&parent=itsallabouthouse.com
Thanks for the quick response, so what would the entire embed code look like, what you provided is just the URL, do you need the code that I’m using or can you view it with the information I provided?
Barry,
This is the code we are trying to use, this is with the URL info you sent us, when you say the parameters are incorrect, can you share what would make this correct?
<iframe src="https://player.twitch.tv/?channel=iaahradio&parent=rest.edit.site&parent=itsallabouthouse.com" frameborder="0" allowfullscreen="true" scrolling="no" height="680" width="560"></iframe><a href="https://www.twitch.tv/iaahradio?tt_content=text_link&tt_medium=live_embed" style="padding:2px 0px 4px; display:block; width:545px; font-weight:normal; font-size:10px; text-decoration:underline;">Watch live video from IAAH RADIO on www.twitch.tv</a>
Ok, I got the code to work, the web building tool I’m using does show it in preview but I can now see the channel on my website, what would I need to change in my code that would show previous broadcast on my website with out clicking visit Iaahradio and taking you from my website and directing you to the twitch website.
you would have to write something to do that yourself.
The embed doesn’t do what you describe, you would have to write some code to make the embed do what you describe.
Hi Guys. I´m getting crazy trying to embed Twitch to my Website. i used following embed code:
src=“https://player.twitch.tv/?video=1018913289&parent=https://www.beatzbybata.com/twitch&parent=https://1933528-fix4this.strato-editor-widget.com” frameborder=“0” allowfullscreen=“true” scrolling=“no” height=“378” width=“620”>
I deleted the iframe marks, otherwise you would see the player
I want to embed it to : https://beatzbybata.com/Twitch
Can anybody help me, please ?
Thanks
Greets
For the URL for the iFrame try
https://player.twitch.tv/?video=1018913289&parent=beatzbybata.com.parent=www.beatzbybata.com&parent=1933528-fix4this.strato-editor-widget.com
Parents need to be a list of domains, not “Pages” so you were close
Thank you for your Reply @BarryCarlyon
I tried, but the Problem remains I really get crazy with this webhoster
hmm looks like you have the google sites “issue” where the iframe stack changes with every “save” of the widget.
The fix outlined for Google Sites should work here https://github.com/BarryCarlyon/twitch_misc/tree/main/player/googlesites
So i have to set sites.google.com’& 'www.gstatic.com as a parent also?
And do i have to use this java code or should i just paste those sites to the iFrame?
No for you you don’t need any
Just your main domain and thats it.
You will need the javascript code as the iframe stack changes every time you save.
So
<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>
Should do the trick