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?

Requirements

  • You must have an existing Twitch account.

Steps to Embed a Twitch Video

  1. Log in to your Twitch account and navigate to your channel.
  2. Click the Share tab (located by the three dots on the right).
  3. Select the Embed icon.
  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, then save your changes.
  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.