Undocumented Twitch Embed still safe to use?

Hello, I finally found the time to port our existing twitch embed from the iframe version to the interactive version.

Some time ago the twitch developer documentation had the following example to embed an interactive twitch player with subscribe and follow “overlay”:

<script src="https://embed.twitch.tv/embed/v1.js"></script>
var twitchEmbed = new Twitch.Embed('twitch-video-container', {
  width: '100%',
  height: '100%',
  channel: 'test',
  layout: 'video',
});
var twitchPlayer = twitchEmbed.getPlayer();

It is working just fine but it’s not documented anymore. Is it safe to use or will it be deprecated (not working) anytime soon?

Thanks.

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