The parent parameter is just the domain itself. So if you’re website is twitch.example.com/mySite, the parent value would be twitch.example.com. It’s not something you need to get from your domain provider.
If you plan to have your embed within an iframe (such as what happens on some website builders like Wix) then you will need to include that as a parent as well.
Thanks for your advice, Dist, I ippreciate it.
but yaaa, I think I understand about the parent.
For example, I was planning to use this template:
<iframe
src="https://player.twitch.tv/?<channel, video, or collection>&parent=streamernews.example.com"
height="<height>"
width="<width>"
allowfullscreen>
</iframe>
I know I need to replace the streamernews.example.com part with my domain, as you mentioned. Like example.com, correct?
Then, I need to replace the <channel, video, or collection> part with my channel name in this case.
(we can skip heigh and width at this time lol)
But it’s not working… Oh, wait, channel, video, or collection means not my user name or client ID; I just noticed that now, lol.
I had been placing my username or client_id=… for some reason, lol.
But still Where can I find that info? (channel, video, or collection) Everything is new to me, and I’m still struggling. X(
…I just want to embed my live streaming screen on my website TT.
Oh, that’s the issue! I needed channel= after “?” before my channel name! That must be it! Let me double-check; ‘channel’ refers to my username, correct? If it’s for live streaming?
’
omg, I’m trying to type channel=mychannel&parent=myparent but for some reason, when I hit enter , it turns into channel=mychannel&parent=myparent , and it’s still erroring, lol. I can’t remove these extra amp; —what am I doing wrong?
Just you and me, I am using Adobe Portfolio as my website builder, and there is an option to insert embed code that states:
If you wish to embed content from another platform, you will want to use the Embed Module. We currently only accept iFrame embed codes and do not accept embedding via URL or HTML.
Note: the “embed code” is different from the web address/URL. On whichever site you used to post your content, there should be a button that says embed, usually denoted by this symbol </>.
This means iFrame should work.
…Did I perhaps miss typing something?