Guide

OBS browser source settings explained

Almost every overlay widget, alert box and animated stream screen runs inside an OBS browser source. Its settings window is short, but each option changes how your overlay behaves.

Also in: Français · Español · Deutsch · Português

Short answer

Set Width and Height to the size the widget was made for (usually 1920×1080 for a full overlay), tick Local file only for HTML files on your computer, keep the default Custom CSS for a transparent background, and leave Shutdown source when not visible off for chat and alerts.

Every setting, in order

SettingWhat it doesRecommended
Local fileLoads an HTML file from your computer instead of a web addressOn for stream screens and downloaded widgets; off for StreamElements and Streamlabs URLs
URLThe web address the source showsPaste your overlay or widget URL
Width / HeightThe page size the source renders at (default 800×600)The size the widget was made for. Full overlays and screens: 1920×1080
Use custom frame rateRenders the page at its own frame rate (default 30 when turned on)Off, unless you want an animation at 60 fps to match a 60 fps stream
Control audio via OBSSends the page's sound to the OBS Audio MixerOn for alerts with sound, so you can set their volume and monitor them
Custom CSSStyles added to the page. The default makes the background transparent, removes margins and hides scrollbarsKeep the default. Add to it, don't delete it
Shutdown source when not visibleUnloads the page when the source is hidden or its scene isn't activeOff for chat, alerts and timers. On for heavy screens in scenes you rarely use
Refresh browser when scene becomes activeReloads the page each time you switch to its sceneOn for Starting Soon, Be Right Back and ending screens that should start from the top
Page permissionsLets the page read or control OBSThe default, unless a widget's guide asks for more
Refresh cache of current pageA button that reloads the page and its filesUse it after you change a widget's settings or files

Width and height vs resizing

Width and Height set how big the page is drawn. Dragging the red box on the canvas only stretches the finished picture. If a widget looks blurry, its Width and Height are too small: set the real size in the properties and then resize on the canvas only a little.

Interacting with a page

Right-click a browser source and choose Interact to click inside it, for example to press a button on a widget or log in to a page. Close the window when you're done.

Hardware acceleration

Animated and 3D overlays render faster on the graphics card. The option is Enable Browser Source Hardware Acceleration under Settings › Advanced › Sources, and it's on by default. If a source shows nothing at all, switching it off or on and restarting OBS is a common fix.