Issues resizing the embed player

Hi, I’m just building my site using WordPress and I’m having issues with sizing the player how I want it.

My Code is

<!-- Load the Twitch embed script -->
<script src="https://embed.twitch.tv/embed/v1.js"></script>

<!-- Create a Twitch.Embed object that will render within the "twitch-embed" root element. -->
<script type="text/javascript">
  new Twitch.Embed("twitch-embed", {
    width: 1920,
    height: 480,
    channel: "thekillerbeez",
    // only needed if your site is also embedded on embed.example.com and othersite.example.com 
    parent: ["killerbeez.xyz", "othersite.example.com"]
  });
</script>

ignore the height and width… i’ve tried 100 different thigns and its all the same. thanks

my apologies here is the site

killerbeez.xyz

Moved your post as it’s beyond the scope of the thread you posted in

Your problem is the max width rule on the content-area limiting your width

thank you.

would i have to change that in the CSS in wordpress?

Probably yes

do you have any idea what the code might be?

would it be max-width: 1600px
}

or something of that nature?

You’d have to change it to what ever you want, or even remove the max-width rule.

This will change the entire layout of your WordPress site

this is what i have put in css and i’ve had no changes

.single .entry-content p {
max-width: 1600px;
margin-left: auto;
margin-right: auto;
}

it seems that others had luck with this but it has served me no luck.

any ideas?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.