Difference between revisions of "Main Page"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 123: | Line 123: | ||
</gallery> | </gallery> | ||
|} | |} | ||
+ | |||
+ | <!-- 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: "beardedcheg" | ||
+ | }); | ||
+ | </script> |
Revision as of 19:52, 6 September 2020
<script src="https://player.twitch.tv/js/embed/v1.js"></script> <script type="text/javascript"> new Twitch.Player("twitch-embed", { channel: "beardedcheg" }); </script> |