rf-web/_includes/embeds/twitch.html
2020-09-05 16:12:50 +02:00

13 lines
392 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">
new Twitch.Player("twitch-embed", {
channel: "{{ site.twitchChannel }}"
});
</script>