Hello, I’ve moved my website integration to the new API, and requests are working fine, however I am no longer able to embed twitch player. I’ve tried the code provided in the doc, namely
<script src= "http://player.twitch.tv/js/embed/v1.js"></script>
<div id="SamplePlayerDivID"></div>
<script type="text/javascript">
var options = {
width: 854,
height: 480,
channel: "dallas",
};
var player = new Twitch.Player("SamplePlayerDivID", options);
player.setVolume(0.5);
</script>
But what I see on my webpage is a 404 error should be. Embedding using an iframe works, but is not what I’m looking for. The console displays this weird URL http://www.jenmaarai.com/:///?allowfullscreen&channel=dallas (jenmaarai being my website). Is this kind of embed no longer supported? Thank you.