Site URL: https://www.marsharosenblatt.com
I am attempting to embed the coding for a Twitch live stream onto my website. It's my friends' Twitch account, and they sent me the following embed code:
<script src= "https://player.twitch.tv/js/embed/v1.js"></script>
<div id="<player div ID>"></div>
<script type="text/javascript">
var options = {
width: <1920>,
height: <1080>,
channel: "<ioustudio>",
video: "<video ID>",
collection: "<collection ID>",
// ["ioustudio.com", "marsharosenblatt.com"]
};
var player = new Twitch.Player("<player div ID>", options);
player.setVolume(0.5);
</script>
When I try to add it through the embed window of the video block, it says "invalid video embed" and when I do it through an embed block it says "script disabled". Any insight? Thank you