Twitch embed is only working on the www version of my site

I have added an embed for my twitch channel to my website https://www.stus-crew.co.za/page1.html and it works fin there but if I go to https://stus-crew.co.za/page1.html the embed no longer works and i get the firefox can’t open this page message, my embed code is as follows:

<iframe
    src="https://player.twitch.tv/?channel=stuforbes&parent=stus-crew.co.za&parent=www.stus-crew.co.za&muted=true"
    height="300"
    width="400"
    allowfullscreen="true">
</iframe >

what am I doing wrong?

The embed src you’re using on both pages is https://player.twitch.tv/?channel=stuforbes&parent=www.stus-crew.co.za&muted=true which only has 1 parent, the one with www.

The embed code you posted here, isn’t the same as what your site is using.

okay but both URLs point to the same web server so effectively they both point to the same website. And it is working on my end on the www site so how do I fix it ?

never mid i figured it out and fixed it

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.