If youβre a gamer, you definitely know Twitch.tv. If youβre not a gamer, thereβs a good change you know it, too. Twitch has helped legitimize live streaming as an entertainment medium, instead of a niche service that only a handful of people partake in. Twitch may have started with video games, but thatβs not all it does. And thereβs a good chance you or someone you know streams there, so itβs probably useful to know how to grab the embed Twitch stream code for your site to get even more viewers.
Subscribe To Our Youtube Channel
How to Embed a Twitch Stream
To actually embed your Twitch stream wonβt actually take too much work. Itβs very simple because the platform wants to make it exceptionally easy for you to succeed at getting people to watch your channel. Twitch.tv is at its heart a social network, so there are tons of sharing and connecting options available to you. Thatβs good luck.
The service gives you an embed code that you can use in creative ways to display an iframe on your WordPress site in anywhere that accepts HTML, whether that is a widget, a page, a custom post type, or a Divi tabs module like I will show you in this example.
Step 1: Get Your Embed Code
Like I said, Twitch wants you to get as many eyes on your stream as possible, so all you have to do to get your Twitch embed code is to log into your account and click on your profile picture in the top right corner. Once that drops down, click onΒ Channel to take you to, obviously, your channel.
Step 2: Get the Embed Twitch Stream Code
Once you see your channel, find theΒ Share button near the bottom corner. If you are on mobile, it may be in a different spot, but the end result should be the same. Twitch provides a lot of sharing options here, but the one we care about the most is obviously labelledΒ Embed Channel. You also have an option under that to embed the chat from your stream, too, and if you want to do that and show your WordPress readers (viewers?) exactly what is going on and have the whole Twitch experience, you can follow these same instructions for it, too.
When you click inside theΒ Embed Channel area, the text will highlight so that you can copy it (useΒ CTRL/CMD β C).
Step 3: Find the Spot on Your Website for the Embed Twitch Stream Code
Like I said earlier, you can put this code anywhere on your site that accepts HTML or code. For this example, I am going to use the DiviΒ TabsΒ module because I also want to embed live streams from YouTube, Twitter (Periscope), and Facebook. But you can just as easily do this with aΒ Text module,Β Code module, or just a plain old blog post or sidebar widget.
Just click on the grey + to addΒ Tabs.Β If you are only doing Twitch and no other networks, use the Divi Code module or a Custom HTML widget.Β Go toΒ Appearance β Widgets and select an HTML Widget.Β Once youβve decided where the widget will live, just paste the code in and hitΒ SaveΒ (same forΒ Code modules in Divi).
For the DiviΒ Tabs module,Β you will once again click on a grey + to add a new tab for the content.
You will now be in that tabβs settings. Call the tab where you put the Twitch embed code whatever you want. I chose the very creative Twitch.tv. And make sure you paste the code inside theΒ Text tab of the module because thatβs the part the renders code, not the visual editor.
When you hit save, youβre good to go! Your Twitch stream will not be embedded on your page, and you will have a magnificent opportunity to be one of the internetβs most famous people. As long as you either whisper into a mic shaped like ears or play a whole lot ofΒ Fortnite.
If you want to go into streaming with the other services, too, and embed them, just repeat the process you followed with the embed Twitch stream code with the Twitter or YouTube one, and youβre all set.
Color Coordinating with Brand Kit Colors
You may also want to do what I did above. I made sure to use the official Twitch purple hex code, as well as the ones for Facebook, YouTube, and Twitter, So as a bonus, here they all are for your copy/pasting pleasure.
- Twitch: #6441A4
- YouTube:Β #FF0000
- Facebook:Β #3B5998
- Twitter:Β #1DS1F2
Wrapping Up
So now you see how easy it is to use the embed Twitch stream code they give you right there on your channel. The hardest part about all of it is setting a schedule and making sure you keep it so that you can attract an audience. And if you already have an audience (which I do not), embedding your Twitch channel on your website will only make it grow that much more. So go out there, embed some code, and play Fortnite until your fingers bleed. Okay, so not that much, but a lot. Have fun!
Looking for more live streaming software and plugins? Check out our recommended list of live streaming tools.
Why do you stream and what kind of content?
Article featured image by the Official Twitch.tv Brand Kit
Great article, thank you for share!
Nice tutorial! There is also a pretty nice new wordpress plugin way to do embeds if you want to show up groups or your twitch friends that i’m using currently. https://wordpress.org/plugins/ttv-easy-embed-wall/
I was wondering the best way to do this. Thanks for sharing! Those color codes are nice to have as well!