Using Codepens A Guide into how to use Codepens Display Image

Here I will show you how to import a codepen into OBS, I’m sure the theory will be the same for Streamlabs but I’m not 100% sure.

It’s also important to note, you will need a Codepen Account to Export.

Step 1 - Export the Pen

On the Codepen you are wanting to use, in the bottom right there would be a Export button. Export

Once you click on that it will pop up a menu and you will need to press on Export .zip Export

This will then start downloading the zip folder.

Export

Step 2 - Extract Files

When downloaded it will look like this in your download folder. Export

If you go inside that folder you will see this folder. Export

What you need to do is to Drag and Drop this file to somewhere safe. Export

Step 3 - Get the Url

Once Somewhere safe, you will need to go into the folder and find the dist folder. Export

Inside the dist folder there will be index.html file open that. Export

Once open we need to get the URL which will start with file:///

Export

Step 4 - Put in OBS

In OBS we need to create a browser source.

Export

The we need to paste in our Url.

Export

Then set all the other settings you need such as Height and Width and then press okay and you codepen will be imported to OBS

Export

Things to note.

If your pen requires URL Parameters you can not use Local File (meaning the Checkbox in OBS must be unticked).

If your pen doesnt have any addition settings or uses websocket then it can be ticked but I tend to leave it unticked as a Catch-all.

After adding the codepen to OBS if you make any changes you need to then refresh the browser source in OBS.

ddd