Having checked the only fault is that you are telling it to embed to a element of id stream which doesn’t exist
so if I take your code that is there and change it to target twitch-stream
var parent = ['memestreams.ga', 'memestreams.gq', 'www.gstatic.com', 'memestreams.tk', 'window.location.host'];
var options = {
width: 720,
height: 1280,
channel: "meme_games746",
allowfullscreen: true,
layout: "video-with-chat",
muted: false,
parent
};
var player = new Twitch.Embed("twitch-stream", options);
It works fine
However you should be using:
<div id="twitch-stream"></div>
<script src="https://embed.twitch.tv/embed/v1.js"></script>
<script type="text/javascript">
var options = {
width: 720,
height: 1280,
channel: "meme_games746",
allowfullscreen: true,
layout: "video-with-chat",
muted: false
};
var player = new Twitch.Embed("twitch-stream", options);
</script>
As the JS embed script will auto determine the parent to use, and you have no iFrame stack to worry about
