Interactive Player Embed Stopped Working

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= ""></script>
<div id="SamplePlayerDivID"></div>
<script type="text/javascript">
	var options = {
	width: 854,
	height: 480,
	channel: "dallas",
var player = new Twitch.Player("SamplePlayerDivID", options);

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 (jenmaarai being my website). Is this kind of embed no longer supported? Thank you.

Interactive player embed is not working for me either. Getting the same errors in all browsers:
failed to resolve properties

This is the currently supported embed: Embedding Twitch | Twitch Developers (The same as you’re using)

Here’s an example of it definitely working:

The embed code is hidden away in the Pen settings. I’m just using the https:// version.

You are right Alca, it does work but only when using the https version, which makes the document outdated. This however fixes my problem, thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.