rf-web/_includes/embeds/twitch.html

13 lines
392 B
HTML
Raw Normal View History

2020-09-05 14:12:50 +00:00
<!-- 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>