I managed to get these working on my side (with my domain and channel). Give it a shot.
Just stream
<script src= "https://player.twitch.tv/js/embed/v1.js"></script> <div id="twitch-embed"></div> <script type="text/javascript"> var options = { width: "100%", height: "100%", channel: "sewadaar_sangat", parent: ["gurujisangatboston.org", "www.gurujisangatboston.org","sites.google.com",document.domain,"gstatic.com","www.gstatic.com"] }; var player = new Twitch.Player("twitch-embed", options); </script>
Stream & Chat
<div id="twitch-embed"></div> <script src="https://embed.twitch.tv/embed/v1.js"></script> <script type="text/javascript"> new Twitch.Embed("twitch-embed", { width: "100%", height: "100%", channel: "sewadaar_sangat", parent: ["gurujisangatboston.org", "www.gurujisangatboston.org","sites.google.com",document.domain,"gstatic.com","www.gstatic.com"] }); </script>
edit: Made a YT video with this information:
https://youtu.be/jDFZncLMHEQ