Embedded interactive streams - how do I use my authitication?

I’ve been using the interactive embedded example from GitHub
script src= “http://player.twitch.tv/js/embed/v1.js”>/script>
div id="{PLAYER_DIV_ID}">
script type=“text/javascript”>
var options = {
width: 854,
height: 480,
channel: “{CHANNEL}”,
//video: “{VIDEO_ID}”
};
var player = new Twitch.Player("{PLAYER_DIV_ID}", options);
player.setVolume(0.5);
player.addEventListener(Twitch.Player.PAUSE, () => { console.log(‘Player is paused!’); });
/script>"

But now it no longer works. I have an authentication token, but don’t see how I can apply it.
Is there another way to have controllable embedded video?

Moved to API topic, as this doesn’t appear to be chat related.

Can you post the code you’re using? The player doesn’t require that you send a Client-ID.

Yeah, sorry I figured out I was just being stupid.

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