I have embedded twitch video player using the Interactive Frames for Live Streams.
<script src= "https://player.twitch.tv/js/embed/v1.js"></script>
<div id="<player div ID>"></div>
<script type="text/javascript">
var options = {
width: <width>,
height: <height>,
channel: "<channel ID>",
video: "<video ID>",
collection: "<collection ID>",
};
var player = new Twitch.Player("<player div ID>", options);
player.setVolume(0.5);
</script>
There is an unexpected API call being requested at some point from the video script and the request returns 401.
I understand that the request requires a client ID on the request header, but my point is I’m not interested in consuming any API and all I need is just embedding the player to my page.
How can this API calls be avoided?
Is it mandatoy that I have to register and get a client ID for simple embedding?