NEWMeet the new Video Gallery — YouTube, TikTok, Instagram Reels, Vimeo and Twitch in one widget.

Find a widget for you

You can use our widgets to accomplish practically any task on your website — increase users' confidence, grow conversion, engage your visitors, provide support, etc.

See All Widgets
Video Gallery

Twitch Embed Code Generator

Embed a Twitch live stream, past broadcast or clip on your website. Add your domain and copy a ready-to-use player code.

  • Free
  • No sign-up
  • Works on any website
  • Updated September 2026

Settings

ChannelLive player preview on the production page
Embed code
<div style="position:relative;width:100%;aspect-ratio:16 / 9;">
  <iframe style="position:absolute;inset:0;width:100%;height:100%;border:0;" src="https://player.twitch.tv/?channel=yourchannel&parent=example.com&autoplay=false&muted=true" title="Twitch player" allowfullscreen></iframe>
</div>

Elfsight Video Gallery

Show streams and videos from several channels

Video Gallery displays Twitch videos from a channel or category, next to your YouTube videos.

  • Auto-updates when you publish new videos
  • Carousel, grid, masonry or player with playlist
  • YouTube, Vimeo, TikTok, Instagram, Twitch and any video link
  • No coding — works on any website
Create Widget for Free Create a Twitch galleryNo credit card needed
YouTube
Behind the Scenes: Studio Tour
TikTok
First Descent of the Season: Heli Drop in the Alps
Twitch
Late Night Ranked Grind
Instagram
Morning Flow: 10-Minute Full Body Stretch
YouTube
Restaurant Plating at Home, Step by Step
Vimeo
Where the Pavement Ends: Full Off-Road Test

How to use the Twitch Embed Code generator

  1. 1Choose what to embed

    A live channel, a past broadcast or a clip.

  2. 2Add your domain

    Twitch only plays embeds on the domains listed in the parent parameter.

  3. 3Copy the code

    Paste it into an HTML or embed block on that domain.

Twitch embed parameters

ParameterWhat it doesExample
channelShows a live channel.channel=yourchannel
videoShows a past broadcast (VOD).video=v123456789
min sizeThe player must be at least 400×300 px.width ≥ 400
clipShows a clip (clips.twitch.tv).clip=AwesomeClipSlug
parentDomain allowed to show the player. Required.parent=example.com
autoplay / mutedControls playback on load.autoplay=false&muted=true

Source: Twitch Developers: Embedding Video and Clips

How to add the code to your website

In the block editor, add a Custom HTML block where the video should appear and paste the code. In the classic editor, switch to the Text tab first.

See Video Gallery for WordPress →

Embed code vs. Elfsight Video Gallery

Embed codeVideo Gallery
Videos per embedOne video (or one playlist)Unlimited videos in one widget
Stays up to dateEdit the code for every new videoNew Twitch videos appear automatically
Mix sourcesOne platform per snippetYouTube, Vimeo, TikTok, Instagram, Twitch and any video link
LayoutsSingle playerPlayer with Gallery, Carousel, Grid, Masonry, Playlist
Responsive designNeeds a CSS wrapperBuilt in
CodingCopy and paste code for each videoNo code — edit visually in the editor
PriceFreeFree plan, no credit card needed

Frequently asked questions

What is a Twitch embed generator?

A Twitch embed generator creates the iframe for a Twitch stream, VOD or clip, with the required parent domain filled in.

How do I embed a Twitch stream on my website?

Enter the channel name and your site’s domain, then copy the code. The player shows the stream when the channel is live.

Why does my Twitch embed show an error?

The parent parameter must exactly match the domain where the player is embedded, the site must use HTTPS, and the player must be at least 400×300 px. See Twitch’s embed requirements.

Can I embed Twitch on more than one domain?

Yes — add the parent parameter once for each domain.

Can I embed Twitch clips?

Yes. Choose Clip and paste the clip link.

Official documentation

More free tools

Related guides

From one video to a gallery people watch

Create a free video gallery in minutes and add it to any website.

Create Widget for Free