I was using the twitch tutorial to see a twitch live on my website but it says there is an error in the parent section, it searched on internet and on the similar topic on the forum, I didn’t find.
<script src= "https://player.twitch.tv/js/embed/v1.js"></script>
<div id="120"></div>
<script type="text/javascript">
var options = {
width: 800,
height: 600,
channel: "sardoche",
parent: ["mysite.com"]
};
var player = new Twitch.Player("120", options);
player.setVolume(0.5);
</script>
I’m afraid with the new version parent section has to be there, i tried but same error InvalidParent] parent query string value contains invalid domain name