Twitch.tv, commonly known as Twitch, is a video-streaming service for gamers. This guide will show you how to embed a Twitch stream onto your WordPress website.
In this guide
Have a question?
Ask our AI assistantYou can embed a Twitch stream onto your site using the [twitchtv] shortcode:
- Edit the page or post you wish to display the Twitch stream.
- Click the + block inserter and add a Shortcode block.
- Add the shortcode to the block that looks like this:
[twitchtv url="https://www.twitch.tv/paperbat/"]
- Replace
paperbatwith your Twitch username.
This will show the currently active stream (if there is one) or a highlight automatically chosen by Twitch.
You can also show a specific Twitch video (an archived stream). First, get the link to that video by viewing the video on Twitch and copying the URL from the address bar of your browser, or by clicking the Share button and using the “Copy Link” option:

Once you have the video link, embed it onto your site with these steps:
- Edit the page or post you wish to display the Twitch stream.
- Click the + block inserter and add a Shortcode block.
- Add the shortcode to the block that looks like this:
[twitchtv url="https://www.twitch.tv/paperbat/v/323486192"]
- Replace
https://www.twitch.tv//paperbatv/323486192with your Twitch video link.
You can add the following parameters to your shortcode to customize the appearance:
- height – defaults to 378 pixels
- width – defaults to 620 pixels
- autoplay – defaults to true
- muted – defaults to false
- time – start at a given time (videos only). Use this format: time=”1h2m3s”
With all those parameters applied, an example shortcode looks like this:
[twitchtv url="https://www.twitch.tv/paperbat" width="400" height="244" autoplay="false" muted="true" time="1h2m3s"]