How Do I Embed a Twitch Video on My Website?

How Do I Embed a Twitch Video on My Website?

How Do I Embed a Twitch Video on My Website?

Follow these steps to add a Twitch video or stream to your website using Twitch’s embed code.

Requirements

  • You must have an existing Twitch account.

Steps to Embed a Twitch Video

  1. Log in to your Twitch account and go to your channel.
  2. Click Share (the three-dot menu on the right).
  3. Select the Embed option.
  4. Copy the iframe embed code provided at the bottom of the page. It will look similar to this:
    <iframe src="https://player.twitch.tv/?channel=1025thegame&parent=www.example.com" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>
  5. Paste this code into the Raw HTML widget on your website page.
  6. Replace www.example.com in the code with your own website URL.
  7. Click Save to apply the changes to your page.

You can adjust the width and height values in the code to fit your website layout as needed.