I'm currently using this code to embed a Twitch livestream and chat and it looks great for eventually I want to add a bunch of channels onto that page. The only issue I'm having is figuring out how to move/position each embed accordingly. No matter which section you place the embed on it will automatically default position once you save/preview.
*PS I don't know a lick about coding besides copy pasta lol, learning as I go here. I tried asking professor Google already but none of those answers worked.
This is the code I'm using right now:
<html><body><!-- Add a placeholder for the Twitch embed --><divid="twitch-embed"></div><!-- Load the Twitch embed JavaScript file --><scriptsrc="https://embed.twitch.tv/embed/v1.js"></script><!-- Create a Twitch.Embed object that will render within the "twitch-embed" element --><scripttype="text/javascript">newTwitch.Embed("twitch-embed",{
width:360,
height:600,
channel:"monstercat",// Only needed if this page is going to be embedded on other websites
parent:["embed.example.com","othersite.example.com"]});</script></body></html>
Positioning of embedded Twitch stream.
in Customize with code
Posted
Site URL: https://www.6storm.com/live
I'm currently using this code to embed a Twitch livestream and chat and it looks great for eventually I want to add a bunch of channels onto that page. The only issue I'm having is figuring out how to move/position each embed accordingly. No matter which section you place the embed on it will automatically default position once you save/preview.
*PS I don't know a lick about coding besides copy pasta lol, learning as I go here. I tried asking professor Google already but none of those answers worked.
This is the code I'm using right now: