Thank you again! My issue now is it’s not showing anything at all. Is there something I’m missing?
New code:
<iframe
var parent = ['plus.destructomc.com', 'sites.google.com', 'www.gstatic.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);
</iframe>