rf-web/_includes/embeds/twitch.html
2020-09-23 17:03:45 +02:00

13 lines
411 B
HTML

<!-- Add a placeholder for the Twitch embed -->
<div id="twitch-embed"></div>
<!-- Load the Twitch embed script -->
<script src="https://player.twitch.tv/js/embed/v1.js"></script>
<!-- Create a Twitch.Player object. This will render within the placeholder div -->
<script type="text/javascript" id='twitch-script'>
new Twitch.Player("twitch-embed", {
channel: "{{ site.twitchChannel }}"
});
</script>