TechBuzzPro

Add a Browser Source to Twitch: Step-by-Step

· 5 min read · Gaming

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Adding a browser source to your Twitch stream lets you overlay web content—like chat, alerts, or a live stats panel—directly onto your broadcast. You'll need streaming software (OBS Studio or Streamlabs Desktop) and the URL of the web page you want to display. Here's exactly how to do it.

What You'll Need

  • A computer running OBS Studio (free) or Streamlabs Desktop (free).
  • The URL of the web page you want to show (e.g., a Twitch chat embed, a Streamlabs alert widget, or a custom dashboard).
  • Your Twitch stream key (already connected to your streaming software).

Step-by-Step

  1. Open your streaming software. Launch OBS Studio or Streamlabs Desktop. The steps below work in both, though menu labels may differ slightly by version.
  2. Go to your Sources panel. In OBS, look for the “Sources” box at the bottom of the main window. In Streamlabs, it’s on the left side under “Sources.”
  3. Click the “+” (Add) button. This opens a list of source types.
  4. Select “Browser” from the list. In OBS it’s called “Browser”; in Streamlabs it may be listed as “Browser Source.”
  5. Name your source (optional). Give it a descriptive name like “Chat Overlay” or “Alert Box.” Then click “OK” or “Add Source.”
  6. Paste the URL. In the properties window that opens, paste the full URL of the web page you want to display. For example, to show a Twitch chat, use the embed URL: https://www.twitch.tv/embed/yourchannel/chat (replace “yourchannel” with your actual channel name).
  7. Set the width and height. Enter the pixel dimensions you want the overlay to be. Common sizes: 400×600 for a chat box, 1920×1080 for a full-screen overlay. You can resize later by dragging the corners in the preview.
  8. Adjust advanced settings (optional). Check “Custom CSS” to inject your own styling, or use “Shutdown source when not visible” to save resources when the source is hidden. Leave “Use custom frame rate” unchecked unless you know you need it.
  9. Click “OK” or “Done.” The browser source will appear in your preview. Drag it to position it, and resize it as needed.
  10. Test it. Go live or use the preview to ensure the web page loads and displays correctly. If it’s blank, see the Troubleshooting section below.

Common Mistakes

  • Using a normal URL instead of an embed URL. Many sites (like Twitch chat) block being displayed inside a browser source if you use the regular page URL. Use the embed version provided by the site.
  • Forgetting to set the source visible. If the browser source is hidden (eye icon crossed out), it won’t show on stream. Make sure the eye is open.
  • Setting the size too small. If you set width/height smaller than the content, you’ll see scrollbars or cut-off text. Set them to match your overlay area.
  • Not refreshing after changes. If you edit the web page or the URL, the browser source may cache the old version. Right-click the source and choose “Refresh” to reload it.

Tips

  • Use a transparent background. For overlays like alerts or widgets, make sure the web page has a transparent background (usually via CSS). Many widget providers give you a transparent embed code.
  • Keep performance in mind. Each browser source uses CPU and memory. Don’t add more than a few, and close ones you’re not using.
  • Use “Shutdown source when not visible.” This saves resources when you hide the source (e.g., during breaks).
  • Test with a local file. If you’re building a custom overlay, you can use a local HTML file (file:///C:/path/to/file.html) as the URL for testing.

Troubleshooting

If the browser source shows a blank screen:

  1. Right-click the source and select “Refresh.” Sometimes the page just needs a reload.
  2. Check the URL. Make sure it’s a full URL (including https://) and that the page actually loads in a normal browser.
  3. If the page requires login or cookies, it may not load in the source. Use a public embed or a service that provides a tokenized URL.
  4. Try disabling “Hardware acceleration” in the browser source properties. Some systems have issues with that.

If the source loads but is not visible on stream:

  1. Make sure the source is not hidden (eye icon).
  2. Check the layer order in the Sources list. Drag it up so it’s above other sources that might cover it.
  3. Verify you’re looking at the correct scene. The source must be added to the scene you’re actually streaming.

If the source uses too much CPU:

  1. Reduce the width/height to the minimum needed.
  2. Enable “Shutdown source when not visible.”
  3. Close other browser sources you’re not using.

Frequently Asked Questions

Can I add a browser source on Streamlabs Desktop the same way?

Yes, the process is nearly identical. In Streamlabs, click the “+” in the Sources panel, choose “Browser Source,” and follow the same steps.

Why is my Twitch chat not showing in the browser source?

You likely used the regular chat URL. Use the embed URL: https://www.twitch.tv/embed/yourchannel/chat. Also, make sure the channel name is correct.

Can I use a browser source to show a website like YouTube or Twitter?

Yes, but many sites block embedding. YouTube videos can be embedded using their share > embed code, but Twitter may not work. Use a service like Streamlabs or OBS’s built-in widgets for reliable overlays.

How do I make the browser source background transparent?

In the browser source properties, under “Custom CSS,” add: body { background-color: transparent; }. Also, the web page itself must support transparency (most widget providers do).

Can I add multiple browser sources?

Yes, you can add as many as you want, but each uses resources. Keep the total count reasonable (typically under 5) to avoid performance issues.

Does the browser source work on consoles?

No. Browser sources are a feature of PC streaming software like OBS and Streamlabs. Consoles have their own built-in streaming features but do not support custom browser overlays.