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?