Parent value string contains invalid character

I’m sorry I’m not a scripter so I have no idea what I am doing lol. I used your script and filled in the placeholders, I’m still only seeing a blank page.

<script src="https://embed.twitch.tv/embed/v1.js"></script>
<div id="test"></div>

<script type="text/javascript">
  var parent = ['sites.google.com', 'plus.destructomc.com', window.location.host];
  console.log(parent);
  document.getElementById('target_frame').setAttribute('src', document.getElementById('target_frame').getAttribute('src') + '&parent=' + parent.join('&parent='));

  var options = {
    width: 720,
    height: 1280,
    channel: "destructolive",
    allowfullscreen: true,
    layout: "video-with-chat",
    muted: true,
    parent
  };
  var player = new Twitch.Embed("test", options);
</script>